Software /
code /
prosody
Changeset
8772:375f2e663cea
mod_admin_adhoc: Rename loop variable to avoid name clash [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 01 May 2018 21:02:15 +0200 |
parents | 8771:82bdeb8009ce |
children | 8773:a785b1050644 |
files | plugins/mod_admin_adhoc.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_adhoc.lua Tue May 01 20:54:51 2018 +0200 +++ b/plugins/mod_admin_adhoc.lua Tue May 01 21:02:15 2018 +0200 @@ -304,8 +304,8 @@ local rostersize = 0; local IPs = ""; local resources = ""; - for jid in pairs(roster) do - if jid then + for contact_jid in pairs(roster) do + if contact_jid then rostersize = rostersize + 1; end end