diff options
author | Kim Alvefur <zash@zash.se> | 2018-05-01 21:02:15 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-05-01 21:02:15 +0200 |
commit | 0538b4f963ec9bcde0e51d91ea6585a2c533f5fa (patch) | |
tree | 9ee95523ba292ccbea9af02102d3ce64c2d65fbf /plugins | |
parent | be5f654319a068fff988eece73e5ed85506ed460 (diff) | |
download | prosody-0538b4f963ec9bcde0e51d91ea6585a2c533f5fa.tar.gz prosody-0538b4f963ec9bcde0e51d91ea6585a2c533f5fa.zip |
mod_admin_adhoc: Rename loop variable to avoid name clash [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_adhoc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua index dc00b107..ca641fe7 100644 --- a/plugins/mod_admin_adhoc.lua +++ b/plugins/mod_admin_adhoc.lua @@ -304,8 +304,8 @@ local get_user_stats_handler = adhoc_simple(get_user_stats_layout, function(fiel 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 |