Changeset

4270:d2d47fde9811

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.
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 May 2011 00:23:05 +0100
parents 4269:cd4011af8b4c
children 4271:18d888c8c12d
files plugins/mod_register.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_register.lua	Sat May 28 00:21:12 2011 +0100
+++ b/plugins/mod_register.lua	Sat May 28 00:23:05 2011 +0100
@@ -19,7 +19,7 @@
 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");