From d6d2af95bdf8423fe007f17079be8cc3c6c7f02d Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 2 Jun 2009 19:08:36 +0100 Subject: sessionmanager: It's username@host, not host@username :) --- core/sessionmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index bca887da..163c6799 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -105,7 +105,7 @@ function bind_resource(session, resource) if not hosts[session.host].sessions[session.username] then local sessions = { sessions = {} }; hosts[session.host].sessions[session.username] = sessions; - bare_sessions[session.host..'@'..session.username] = sessions; + bare_sessions[session.username..'@'..session.host] = sessions; else local sessions = hosts[session.host].sessions[session.username].sessions; local limit = config_get(session.host, "core", "max_resources") or 10; -- cgit v1.2.3