comparison plugins/mod_register.lua @ 11013:bb010c3c8c93

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.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 29 Jun 2020 21:03:13 +0200
parents 3e44b8dc2cc0
children
comparison
equal deleted inserted replaced
11012:027af78d8125 11013:bb010c3c8c93
9 9
10 local allow_registration = module:get_option_boolean("allow_registration", false); 10 local allow_registration = module:get_option_boolean("allow_registration", false);
11 11
12 if allow_registration then 12 if allow_registration then
13 module:depends("register_ibr"); 13 module:depends("register_ibr");
14 module:depends("watchregistrations");
14 end 15 end
15 16
16 module:depends("user_account_management"); 17 module:depends("user_account_management");