Changeset

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
parents 1470:af4b918e3432
children 1472:9b13cea9fa3e
files core/sessionmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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