diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-06-04 05:54:32 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-06-04 05:54:32 +0500 |
commit | 4b6c2ce142d7a00fb90de3dd6af86d47cda11ead (patch) | |
tree | f82c2ae15baae56819b4ec715eb03373106c92bd /core/sessionmanager.lua | |
parent | 42fe90c6c853c20f296baa476d647d7cd57f9279 (diff) | |
download | prosody-4b6c2ce142d7a00fb90de3dd6af86d47cda11ead.tar.gz prosody-4b6c2ce142d7a00fb90de3dd6af86d47cda11ead.zip |
sessionmanager: It really is username@host, not host@username :)
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r-- | core/sessionmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 163c6799..19943db0 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -72,7 +72,7 @@ function destroy_session(session, err) 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 |