Software / code / prosody
Comparison
plugins/mod_register.lua @ 9608:3e44b8dc2cc0 0.11
mod_register: Move dependency on mod_register_limits into mod_register_ibr
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 07 Nov 2018 17:49:34 +0100 |
| parent | 8485:0e02c6de5c02 |
| child | 11013:bb010c3c8c93 |
comparison
equal
deleted
inserted
replaced
| 9605:07e3b8e60a6c | 9608:3e44b8dc2cc0 |
|---|---|
| 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("register_limits"); | |
| 15 end | 14 end |
| 16 | 15 |
| 17 module:depends("user_account_management"); | 16 module:depends("user_account_management"); |