changeset 6622 | 78d1706982b2 |
parent 6605 | 61b6a4fc65f1 |
child 6666 | d3023dd07cb6 |
--- a/core/sessionmanager.lua Fri Apr 03 19:22:55 2015 +0100 +++ b/core/sessionmanager.lua Fri Apr 03 19:31:05 2015 +0100 @@ -193,8 +193,8 @@ 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