mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
mod_roster: Rename variable to silence shadowing warning [luacheck]
This commit is contained in:
parent
1db5cd0ec4
commit
0f0d87f07b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue