From 9e7fa305ba8ac637eb82eca271bb8a79e0c0aaa4 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 5 Oct 2009 15:00:05 +0100 Subject: [PATCH] mod_tls: require_s2s_encryption -> s2s_require_encryption --- plugins/mod_tls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua index cce6e537..e854d676 100644 --- a/plugins/mod_tls.lua +++ b/plugins/mod_tls.lua @@ -12,7 +12,7 @@ local xmlns_stream = 'http://etherx.jabber.org/streams'; local xmlns_starttls = 'urn:ietf:params:xml:ns:xmpp-tls'; local secure_auth_only = module:get_option("c2s_require_encryption") or module:get_option("require_encryption"); -local secure_s2s_only = module:get_option("require_s2s_encryption"); +local secure_s2s_only = module:get_option("s2s_require_encryption"); module:add_handler("c2s_unauthed", "starttls", xmlns_starttls, function (session, stanza) -- 2.30.2