plugins/mod_register.lua
author Kim Alvefur <zash@zash.se>
Sun, 23 Oct 2022 16:19:39 +0200
branch0.12
changeset 12791 3735ad8d6f8e
parent 11017 bb010c3c8c93
permissions -rw-r--r--
mod_admin_shell: Ensure connection exists to get port from (fixes #1777)

-- 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");