# HG changeset patch # User Matthew Wild # Date 1279800808 -3600 # Node ID f376f0bd1d1f606b039a236524ed1ae4f9e3b6e0 # Parent 23cf369ed1c37ef2828cd8c591e5c57530de03ba mod_tls: Remove extraneous flag to starttls() for s2sout connecections diff -r 23cf369ed1c3 -r f376f0bd1d1f plugins/mod_tls.lua --- a/plugins/mod_tls.lua Thu Jul 22 11:43:42 2010 +0100 +++ b/plugins/mod_tls.lua Thu Jul 22 13:13:28 2010 +0100 @@ -83,7 +83,7 @@ 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);