changeset 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 f62b091b1c81
children 90772a9c92a0
files mod_watch_spam_reports/mod_watch_spam_reports.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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