diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-05 15:00:05 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-05 15:00:05 +0100 |
commit | 9ea966ae38876f404837f2944efd8085ba01ca9f (patch) | |
tree | e7a8c6d75f9a5a9c29f41c44bc6b5c5426935463 /plugins | |
parent | de057a2b2b34a914240d639da067dbae6e9a960b (diff) | |
download | prosody-9ea966ae38876f404837f2944efd8085ba01ca9f.tar.gz prosody-9ea966ae38876f404837f2944efd8085ba01ca9f.zip |
mod_tls: require_s2s_encryption -> s2s_require_encryption
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_tls.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |