Software /
code /
prosody
Changeset
2544:b68cbc664d18
mod_tls: Remove some redundant variable declarations
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 31 Jan 2010 15:40:28 +0000 |
parents | 2543:da16a5c0df85 |
children | 2545:99700e601d16 |
files | plugins/mod_tls.lua |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_tls.lua Sun Jan 31 15:39:49 2010 +0000 +++ b/plugins/mod_tls.lua Sun Jan 31 15:40:28 2010 +0000 @@ -87,7 +87,6 @@ module:hook_stanza(xmlns_starttls, "proceed", function (session, stanza) module:log("debug", "Proceeding with TLS on s2sout..."); - local format, to_host, from_host = string.format, session.to_host, session.from_host; 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);