Software /
code /
prosody
Changeset
1290:c253905a8a55
sessionmanager: It's username@host, not host@username :)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 02 Jun 2009 19:08:36 +0100 |
parents | 1289:d0c38cac1687 |
children | 1291:22dcd5f06bc4 |
files | core/sessionmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;