# HG changeset patch # User Matthew Wild # Date 1306538585 -3600 # Node ID d2d47fde981187f922f6a46f7dd7ffa15a3f254f # Parent cd4011af8b4c0699cf6972f42fef5b3072e1fa22 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. diff -r cd4011af8b4c -r d2d47fde9811 plugins/mod_register.lua --- 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");