Diff

core/sessionmanager.lua @ 6619:78d1706982b2

sessionmanager: Rename parameter to avoid varible name conflict
author Matthew Wild <mwild1@gmail.com>
date Fri, 03 Apr 2015 19:31:05 +0100
parent 6602:61b6a4fc65f1
child 6663:d3023dd07cb6
line wrap: on
line diff
--- a/core/sessionmanager.lua	Fri Apr 03 19:22:55 2015 +0100
+++ b/core/sessionmanager.lua	Fri Apr 03 19:31:05 2015 +0100
@@ -193,8 +193,8 @@
 	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