sessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes the other stanza gobbling bug \o/
--- 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