Software /
code /
prosody
Changeset
6619:78d1706982b2
sessionmanager: Rename parameter to avoid varible name conflict
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 03 Apr 2015 19:31:05 +0100 |
parents | 6618:469151b08065 |
children | 6620:50eaefeec013 |
files | core/sessionmanager.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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