aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_register_ibr.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-11-07 21:53:40 +0100
committerKim Alvefur <zash@zash.se>2018-11-07 21:53:40 +0100
commitac7682bc92fdd4b7f6ff3a323659dabb649c1afd (patch)
tree4a6af8ab32ff0fabb03a861461739530aec03738 /plugins/mod_register_ibr.lua
parent2a701f2d8b5b024bccbe10ebfcb0e4f1f3ffddf2 (diff)
parentf014ba0feb218c5131e68cd14cafb1feb3e8d7ad (diff)
downloadprosody-ac7682bc92fdd4b7f6ff3a323659dabb649c1afd.tar.gz
prosody-ac7682bc92fdd4b7f6ff3a323659dabb649c1afd.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins/mod_register_ibr.lua')
-rw-r--r--plugins/mod_register_ibr.lua4
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 = {