core/sessionmanager.lua

changeset 124
7fee6b63abca
parent 123
ebd65feb188c
child 125
6b6b8f4ab7e3
--- 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;

mercurial