# HG changeset patch # User Matthew Wild # Date 1430938713 -3600 # Node ID 1089f45c5e67e5188e1a795b9ba4e3d32066c5e3 # Parent a536978e0f01e6176ffbcb392d4dddd67562c9d2 sessionmanager: Rename argument to avoid name clash with local variable [luacheck] diff -r a536978e0f01 -r 1089f45c5e67 core/sessionmanager.lua --- 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