diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-07-22 13:13:28 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-07-22 13:13:28 +0100 |
commit | 16fa172b23940ae510b85d6dde51625333757f2b (patch) | |
tree | 35ae5361b46a798d291340e26e787f0fb914ef8f | |
parent | a1eb7da955f6d3f3c24ecd95cc37fc3a4cc9640c (diff) | |
download | prosody-16fa172b23940ae510b85d6dde51625333757f2b.tar.gz prosody-16fa172b23940ae510b85d6dde51625333757f2b.zip |
mod_tls: Remove extraneous flag to starttls() for s2sout connecections
-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 8b96aa15..a2667ff6 100644 --- a/plugins/mod_tls.lua +++ b/plugins/mod_tls.lua @@ -83,7 +83,7 @@ module:hook_stanza(xmlns_starttls, "proceed", function (session, stanza) module:log("debug", "Proceeding with TLS on s2sout..."); session:reset_stream(); local ssl_ctx = session.from_host and hosts[session.from_host].ssl_ctx or global_ssl_ctx; - session.conn:starttls(ssl_ctx, true); + session.conn:starttls(ssl_ctx); session.secure = false; return true; end); |