From 50cc9d9e0a1d7e35fb7dd7ccf4e6814ee0ac64e0 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 28 May 2011 00:23:05 +0100 Subject: mod_register: Change the default for 'allow_registration' from true to false, most users shouldn't be affected as allow_registration is already explicitly set in the default config file. --- plugins/mod_register.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_register.lua b/plugins/mod_register.lua index 50d29da8..8a818d02 100644 --- a/plugins/mod_register.lua +++ b/plugins/mod_register.lua @@ -19,7 +19,7 @@ local nodeprep = require "util.encodings".stringprep.nodeprep; local jid_bare = require "util.jid".bare; local compat = module:get_option_boolean("registration_compat", true); -local allow_registration = module:get_option_boolean("allow_registration", true); +local allow_registration = module:get_option_boolean("allow_registration", false); module:add_feature("jabber:iq:register"); -- cgit v1.2.3