mod_roster: Rename variable to silence shadowing warning [luacheck]

This commit is contained in:
Kim Alvefur 2016-12-13 21:25:11 +01:00
parent 1db5cd0ec4
commit 0f0d87f07b

View file

@ -142,9 +142,9 @@ module:hook_global("user-deleted", function(event)
username = username, jid = jid, item = item, roster = roster, origin = origin,
});
else
for jid in pairs(item.pending) do
for pending_jid in pairs(item.pending) do
module:fire_event("roster-item-removed", {
username = username, jid = jid, roster = roster, origin = origin,
username = username, jid = pending_jid, roster = roster, origin = origin,
});
end
end