Changeset

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
parents 6676:a536978e0f01
children 6678:343ca80ceb36
files core/sessionmanager.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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