aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2020-06-29 21:03:13 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2020-06-29 21:03:13 +0200
commit0314b7063c4487231a71e3c16b326aeb4bb75032 (patch)
tree1bc04ae572c24f6050b4150c9b9cfa9c41f71095
parentf1fcdfc2467753cc0f1ba3f48a64401395cba9af (diff)
downloadprosody-0314b7063c4487231a71e3c16b326aeb4bb75032.tar.gz
prosody-0314b7063c4487231a71e3c16b326aeb4bb75032.zip
mod_register: Add a dependency on mod_watchregistrations
Spammers are a big hassle, hopefully this will make admins aware of them sooner than when they’ve already spammed a bunch.
-rw-r--r--plugins/mod_register.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_register.lua b/plugins/mod_register.lua
index 763e2fd9..bec3fb5a 100644
--- a/plugins/mod_register.lua
+++ b/plugins/mod_register.lua
@@ -11,6 +11,7 @@ local allow_registration = module:get_option_boolean("allow_registration", false
if allow_registration then
module:depends("register_ibr");
+ module:depends("watchregistrations");
end
module:depends("user_account_management");