From abbf2f169475445d4c54c48616c2d4f0c432ebcd Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 3 Apr 2015 19:31:05 +0100 Subject: sessionmanager: Rename parameter to avoid varible name conflict --- core/sessionmanager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/sessionmanager.lua') diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 8767e869..d833dbe5 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -193,8 +193,8 @@ function bind_resource(session, resource) 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 -- cgit v1.2.3