aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-31 15:40:28 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-31 15:40:28 +0000
commit0a591ad33a235bbfadcff3f0e4106e03732423b8 (patch)
treed36a09dff4c2585986d3510aeef29a3364378c2b
parentb870a3fe51838a4ede43526d24dcdce0f08e142f (diff)
downloadprosody-0a591ad33a235bbfadcff3f0e4106e03732423b8.tar.gz
prosody-0a591ad33a235bbfadcff3f0e4106e03732423b8.zip
mod_tls: Remove some redundant variable declarations
-rw-r--r--plugins/mod_tls.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua
index 897c818b..73b5ae09 100644
--- a/plugins/mod_tls.lua
+++ b/plugins/mod_tls.lua
@@ -87,7 +87,6 @@ module:hook_stanza(xmlns_stream, "features",
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);