plugins/mod_register.lua
author Kim Alvefur <zash@zash.se>
Thu, 20 Oct 2022 16:31:18 +0200
branch0.12
changeset 12783 f0474d40364c
parent 11017 bb010c3c8c93
permissions -rw-r--r--
util.startup: Ensure import() is available in prosodyctl (thanks keyzer) Fixes error in mod_authz_internal due to import() being unavailable as it was only loaded in Prosody proper

-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--


local allow_registration = module:get_option_boolean("allow_registration", false);

if allow_registration then
	module:depends("register_ibr");
	module:depends("watchregistrations");
end

module:depends("user_account_management");