# HG changeset patch # User Kim Alvefur # Date 1661694639 -7200 # Node ID 97d34d520cfa6a8bc6cab539f439dad870b80357 # Parent f62b091b1c81c92e6059ba4569155ae6a46de2f6 mod_watch_spam_reports: Fix traceback due to misplaced parenthesis (thanks Menel) Just like in 964de9997552 diff -r f62b091b1c81 -r 97d34d520cfa mod_watch_spam_reports/mod_watch_spam_reports.lua --- 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