Software /
code /
prosody
Diff
plugins/mod_tls.lua @ 1913:da49a59dff7c
mod_tls: require_s2s_encryption -> s2s_require_encryption
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 05 Oct 2009 15:00:05 +0100 |
parent | 1912:126401a7159f |
child | 1926:e1c5b537f240 |
line wrap: on
line diff
--- a/plugins/mod_tls.lua Mon Oct 05 14:59:30 2009 +0100 +++ b/plugins/mod_tls.lua Mon Oct 05 15:00:05 2009 +0100 @@ -12,7 +12,7 @@ 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)