mod_register: Add a dependency on mod_watchregistrations
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Mon, 29 Jun 2020 21:03:13 +0200
changeset 11017 bb010c3c8c93
parent 11016 027af78d8125
child 11018 05fefde93036
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.
plugins/mod_register.lua
--- a/plugins/mod_register.lua	Fri Jul 17 08:29:03 2020 +0200
+++ b/plugins/mod_register.lua	Mon Jun 29 21:03:13 2020 +0200
@@ -11,6 +11,7 @@
 
 if allow_registration then
 	module:depends("register_ibr");
+	module:depends("watchregistrations");
 end
 
 module:depends("user_account_management");