plugins/mod_register.lua
author Kim Alvefur <zash@zash.se>
Sat, 09 Dec 2017 19:35:08 +0100
changeset 8488 0e02c6de5c02
parent 8487 f591855f060d
child 9612 3e44b8dc2cc0
permissions -rw-r--r--
mod_register_ibr: Split out throttling and IP limitations into mod_register_limits (#723)

-- 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("register_limits");
end

module:depends("user_account_management");