# HG changeset patch # User Matthew Wild # Date 1428085865 -3600 # Node ID 78d1706982b21378d065fd45d6f039245592dc45 # Parent 469151b0806515cd1bc28e64fa43506d802bd98b sessionmanager: Rename parameter to avoid varible name conflict diff -r 469151b08065 -r 78d1706982b2 core/sessionmanager.lua --- 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