diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-03 21:47:26 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-03 21:47:26 +0100 |
commit | 18ab4901ef98fcb320ee62b150d4ec51460fe63d (patch) | |
tree | 4617a38189ea65975076bb19d2915e3f31322ea4 /core | |
parent | 6d2714d32f29dd35496e4b2b3c1d84ff1467ab2d (diff) | |
download | prosody-18ab4901ef98fcb320ee62b150d4ec51460fe63d.tar.gz prosody-18ab4901ef98fcb320ee62b150d4ec51460fe63d.zip |
sessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes the other stanza gobbling bug \o/
Diffstat (limited to 'core')
-rw-r--r-- | core/sessionmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 8083ce8a..1b6aee17 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -132,6 +132,7 @@ function bind_resource(session, resource) }; if not next(sessions) then hosts[session.host].sessions[session.username] = { sessions = sessions }; + bare_sessions[session.username.."@"..session.host] = hosts[session.host].sessions[session.username]; end end if increment and sessions[resource] then |