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
commit1ed0b6ce1271c9b67042860b6fca0dad96ddf21c (patch)
tree1bc04ae572c24f6050b4150c9b9cfa9c41f71095
parent5b9261dab6f415d771cede866dd32b23612edf42 (diff)
downloadprosody-1ed0b6ce1271c9b67042860b6fca0dad96ddf21c.tar.gz
prosody-1ed0b6ce1271c9b67042860b6fca0dad96ddf21c.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");