aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_tls.lua
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
commitd7e905d70e9df835de6b1f3a9b7559964a169197 (patch)
tree4ead501a8af3bc9ff4af896753a8e817554f56fe /plugins/mod_tls.lua
parenteabed1919953d167f353586c3cef16ad9c891fb0 (diff)
downloadprosody-d7e905d70e9df835de6b1f3a9b7559964a169197.tar.gz
prosody-d7e905d70e9df835de6b1f3a9b7559964a169197.zip
mod_tls: Ignore unused argument [luacheck]
Diffstat (limited to 'plugins/mod_tls.lua')
-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);