Diff

core/sessionmanager.lua @ 6677:1089f45c5e67

sessionmanager: Rename argument to avoid name clash with local variable [luacheck]
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2015 19:58:33 +0100
parent 6676:a536978e0f01
child 6779:6236668da30a
line wrap: on
line diff
--- 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