aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-04-03 19:31:05 +0100
committerMatthew Wild <mwild1@gmail.com>2015-04-03 19:31:05 +0100
commitabbf2f169475445d4c54c48616c2d4f0c432ebcd (patch)
treebc14a110c47d84f01b5f7bf7092ec4b236aa8a04
parent0ad8fd85fa831220bb9b408080dfd021bf92480e (diff)
downloadprosody-abbf2f169475445d4c54c48616c2d4f0c432ebcd.tar.gz
prosody-abbf2f169475445d4c54c48616c2d4f0c432ebcd.zip
sessionmanager: Rename parameter to avoid varible name conflict
-rw-r--r--core/sessionmanager.lua4
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