# HG changeset patch # User Matthew Wild # Date 1644508141 0 # Node ID c980210ca095821cb1ec40ebecfaf0c86acf8318 # Parent a80314101bc668f27866e1c7a0f65b23420f7d1c mod_invites_register: Default to require encryption In line with the Prosody-wide default change for 0.12. diff -r a80314101bc6 -r c980210ca095 plugins/mod_invites_register.lua --- a/plugins/mod_invites_register.lua Thu Feb 10 15:48:34 2022 +0000 +++ b/plugins/mod_invites_register.lua Thu Feb 10 15:49:01 2022 +0000 @@ -4,7 +4,7 @@ local rostermanager = require "core.rostermanager"; local require_encryption = module:get_option_boolean("c2s_require_encryption", - module:get_option_boolean("require_encryption", false)); + module:get_option_boolean("require_encryption", true)); local invite_only = module:get_option_boolean("registration_invite_only", true); local invites;