From 13457ac721c7bc6958de9a016628b8ae68316e78 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 28 May 2011 00:23:05 +0100 Subject: [PATCH 1/1] 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(-) 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"); -- 2.30.2