Diff

plugins/mod_register.lua @ 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
parent 4269:cd4011af8b4c
child 4398:acc37e221940
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");