Tue, 02 Jun 2009 19:08:36 +0100
sessionmanager: It's username@host, not host@username :)
core/sessionmanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/sessionmanager.lua Tue Jun 02 21:22:24 2009 +0500 +++ b/core/sessionmanager.lua Tue Jun 02 19:08:36 2009 +0100 @@ -105,7 +105,7 @@ 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;