mod_tls: require_s2s_encryption -> s2s_require_encryption
authorMatthew Wild <mwild1@gmail.com>
Mon, 5 Oct 2009 14:00:05 +0000 (15:00 +0100)
committerMatthew Wild <mwild1@gmail.com>
Mon, 5 Oct 2009 14:00:05 +0000 (15:00 +0100)
plugins/mod_tls.lua

index cce6e537629e66e7e979960df2ba50edd78423da..e854d67648a41d03346a27bebf39e0c5ded841c6 100644 (file)
@@ -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)