aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-02 23:19:41 +0100
committerKim Alvefur <zash@zash.se>2016-11-02 23:19:41 +0100
commit1a12e55904adf8bbb5ca0663d5720f3862de3413 (patch)
tree4ead501a8af3bc9ff4af896753a8e817554f56fe
parent6426801bd32dfdefa8f15bb5521b42292f515042 (diff)
downloadprosody-1a12e55904adf8bbb5ca0663d5720f3862de3413.tar.gz
prosody-1a12e55904adf8bbb5ca0663d5720f3862de3413.zip
mod_tls: Ignore unused argument [luacheck]
-rw-r--r--plugins/mod_tls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua
index 69aafe82..7eedb083 100644
--- a/plugins/mod_tls.lua
+++ b/plugins/mod_tls.lua
@@ -123,7 +123,7 @@ module:hook_stanza("http://etherx.jabber.org/streams", "features", function (ses
end
end, 500);
-module:hook_stanza(xmlns_starttls, "proceed", function (session, stanza)
+module:hook_stanza(xmlns_starttls, "proceed", function (session, stanza) -- luacheck: ignore 212/stanza
module:log("debug", "Proceeding with TLS on s2sout...");
session:reset_stream();
session.conn:starttls(session.ssl_ctx);