aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-06 19:58:33 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-06 19:58:33 +0100
commit1403b88f129f4d3892c3f4522a3e05a37d75d72e (patch)
treee332596d8d364423f9b93360f2763fc8dd7fbbae /core/sessionmanager.lua
parent4d3004e3fc11a53b3668aac09a19e12fc8d19246 (diff)
downloadprosody-1403b88f129f4d3892c3f4522a3e05a37d75d72e.tar.gz
prosody-1403b88f129f4d3892c3f4522a3e05a37d75d72e.zip
sessionmanager: Rename argument to avoid name clash with local variable [luacheck]
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 9ff42aed..33cc3d21 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -208,8 +208,8 @@ function send_to_available_resources(username, host, stanza)
return count;
end
-function send_to_interested_resources(user, host, stanza)
- local jid = user.."@"..host;
+function send_to_interested_resources(username, host, stanza)
+ local jid = username.."@"..host;
local count = 0;
local user = bare_sessions[jid];
if user then