Mercurial > prosody-modules
diff mod_watch_spam_reports/mod_watch_spam_reports.lua @ 5022:97d34d520cfa
mod_watch_spam_reports: Fix traceback due to misplaced parenthesis (thanks Menel)
Just like in 964de9997552
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Aug 2022 15:50:39 +0200 |
parents | 6e5572fc6840 |
children |
line wrap: on
line diff
--- a/mod_watch_spam_reports/mod_watch_spam_reports.lua Sun Aug 28 11:25:21 2022 +0100 +++ b/mod_watch_spam_reports/mod_watch_spam_reports.lua Sun Aug 28 15:50:39 2022 +0200 @@ -6,7 +6,7 @@ local admins; if usermanager.get_jids_with_role then - admins = set.new(usermanager.get_jids_with_role("prosody:admin"), host); + admins = set.new(usermanager.get_jids_with_role("prosody:admin", host)); else -- COMPAT w/pre-0.12 admins = module:get_option_inherited_set("admins"); end