From 18ab4901ef98fcb320ee62b150d4ec51460fe63d Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 3 Jul 2009 21:47:26 +0100 Subject: sessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes the other stanza gobbling bug \o/ --- core/sessionmanager.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core') 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 -- cgit v1.2.3