diff options
author | Kim Alvefur <zash@zash.se> | 2018-11-07 17:49:34 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-11-07 17:49:34 +0100 |
commit | ae95505bb95fa6dda89a58e8c0660b2001e83c15 (patch) | |
tree | 5c2b5dc00de4f182d17ab42fa5675cad3248e70b /plugins/mod_register_ibr.lua | |
parent | 7d020141b2c811369985c012450856456c15ea58 (diff) | |
download | prosody-ae95505bb95fa6dda89a58e8c0660b2001e83c15.tar.gz prosody-ae95505bb95fa6dda89a58e8c0660b2001e83c15.zip |
mod_register: Move dependency on mod_register_limits into mod_register_ibr
Diffstat (limited to 'plugins/mod_register_ibr.lua')
-rw-r--r-- | plugins/mod_register_ibr.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_register_ibr.lua b/plugins/mod_register_ibr.lua index abfc1079..bbe7581d 100644 --- a/plugins/mod_register_ibr.lua +++ b/plugins/mod_register_ibr.lua @@ -18,6 +18,10 @@ local additional_fields = module:get_option("additional_registration_fields", {} local require_encryption = module:get_option_boolean("c2s_require_encryption", module:get_option_boolean("require_encryption", false)); +pcall(function () + module:depends("register_limits"); +end); + local account_details = module:open_store("account_details"); local field_map = { |