Thu, 23 Oct 2008 17:27:41 +0100
faster checking for other sessions
core/sessionmanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/sessionmanager.lua Thu Oct 23 16:07:40 2008 +0100 +++ b/core/sessionmanager.lua Thu Oct 23 17:27:41 2008 +0100 @@ -42,6 +42,7 @@ local nomore = true; for res, ssn in pairs(hosts[session.host].sessions[session.username]) do nomore = false; + break; end if nomore then hosts[session.host].sessions[session.username] = nil;