diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-04-03 19:34:47 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-04-03 19:34:47 +0100 |
commit | 9ba4eef47c2806af0323f8ee215acfa16e49df57 (patch) | |
tree | ed4ed89ea492be641fddc99be7d2da14e5015e51 /core/sessionmanager.lua | |
parent | 12d6e03b5b62d8974f98492112a70fc754b5cb28 (diff) | |
parent | 4d46c2e86673dfb6d00865017929cf27e0aa22ac (diff) | |
download | prosody-9ba4eef47c2806af0323f8ee215acfa16e49df57.tar.gz prosody-9ba4eef47c2806af0323f8ee215acfa16e49df57.zip |
Merge 0.10->trunk
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r-- | core/sessionmanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 8767e869..d833dbe5 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -193,8 +193,8 @@ function bind_resource(session, resource) return true; end -function send_to_available_resources(user, host, stanza) - local jid = user.."@"..host; +function send_to_available_resources(username, host, stanza) + local jid = username.."@"..host; local count = 0; local user = bare_sessions[jid]; if user then |