Changeset

1301:d10d84f755b5

sessionmanager: It really is username@host, not host@username :)
author Waqas Hussain <waqas20@gmail.com>
date Thu, 04 Jun 2009 05:54:32 +0500
parents 1295:ead6d78d2217
children 1302:4561c6d95339
files core/sessionmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/sessionmanager.lua	Thu Jun 04 05:37:43 2009 +0500
+++ b/core/sessionmanager.lua	Thu Jun 04 05:54:32 2009 +0500
@@ -72,7 +72,7 @@
 		if not next(hosts[session.host].sessions[session.username].sessions) then
 			log("debug", "All resources of %s are now offline", session.username);
 			hosts[session.host].sessions[session.username] = nil;
-			bare_sessions[session.host..'@'..session.username] = nil;
+			bare_sessions[session.username..'@'..session.host] = nil;
 		end
 	end