# HG changeset patch # User Waqas Hussain # Date 1244076872 -18000 # Node ID d10d84f755b5170b3d5f051aea9d4ca40273265b # Parent ead6d78d2217956d91ce38716fd99cda0404635a sessionmanager: It really is username@host, not host@username :) diff -r ead6d78d2217 -r d10d84f755b5 core/sessionmanager.lua --- 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