diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_authz_internal.lua | 2 | ||||
-rw-r--r-- | plugins/mod_register_ibr.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_authz_internal.lua b/plugins/mod_authz_internal.lua index 8710b7fe..96324734 100644 --- a/plugins/mod_authz_internal.lua +++ b/plugins/mod_authz_internal.lua @@ -90,7 +90,7 @@ register_role { -- Process custom roles from config -local custom_roles = module:get_option("custom_roles", {}); +local custom_roles = module:get_option_array("custom_roles", {}); for n, role_config in ipairs(custom_roles) do local ok, err = pcall(register_role, role_config); if not ok then diff --git a/plugins/mod_register_ibr.lua b/plugins/mod_register_ibr.lua index cf6d51fb..ee47a1e0 100644 --- a/plugins/mod_register_ibr.lua +++ b/plugins/mod_register_ibr.lua @@ -16,7 +16,7 @@ local usermanager_delete_user = require "prosody.core.usermanager".delete_user; local nodeprep = require "prosody.util.encodings".stringprep.nodeprep; local util_error = require "prosody.util.error"; -local additional_fields = module:get_option("additional_registration_fields", {}); +local additional_fields = module:get_option_array("additional_registration_fields", {}); local require_encryption = module:get_option_boolean("c2s_require_encryption", module:get_option_boolean("require_encryption", true)); |