aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-04 05:37:43 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-04 05:37:43 +0500
commit42fe90c6c853c20f296baa476d647d7cd57f9279 (patch)
tree8da482b6e94e76b5003ac01aeb36bdd86a447399 /core
parent193f981279684c9ca99709c2d42ad300b7bf2515 (diff)
parent6bf427e2ebbca67cc47fdbb2648599e96626d546 (diff)
downloadprosody-42fe90c6c853c20f296baa476d647d7cd57f9279.tar.gz
prosody-42fe90c6c853c20f296baa476d647d7cd57f9279.zip
My merge!!!!
Diffstat (limited to 'core')
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
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;