Software /
code /
prosody
Diff
core/sessionmanager.lua @ 1471:8b3753b080fc
sessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes the other stanza gobbling bug \o/
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 03 Jul 2009 21:47:26 +0100 |
parent | 1469:9f2b6e2bc498 |
child | 1478:da11f2652ae9 |
line wrap: on
line diff
--- a/core/sessionmanager.lua Fri Jul 03 21:44:30 2009 +0100 +++ b/core/sessionmanager.lua Fri Jul 03 21:47:26 2009 +0100 @@ -132,6 +132,7 @@ }; 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