sessionmanager: Rename argument to avoid name clash with local variable [luacheck]
authorMatthew Wild <mwild1@gmail.com>
Wed, 06 May 2015 19:58:33 +0100
changeset 6680 1089f45c5e67
parent 6679 a536978e0f01
child 6681 343ca80ceb36
sessionmanager: Rename argument to avoid name clash with local variable [luacheck]
core/sessionmanager.lua
--- a/core/sessionmanager.lua	Wed May 06 19:58:03 2015 +0100
+++ b/core/sessionmanager.lua	Wed May 06 19:58:33 2015 +0100
@@ -208,8 +208,8 @@
 	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