Diff

plugins/mod_tls.lua @ 7712:0d93dfc2fbfd

mod_tls: Ignore unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 02 Nov 2016 23:19:41 +0100
parent 6919:ab6c57633ce5
child 7833:94c0c8649826
line wrap: on
line diff
--- a/plugins/mod_tls.lua	Wed Nov 02 13:34:09 2016 +0100
+++ b/plugins/mod_tls.lua	Wed Nov 02 23:19:41 2016 +0100
@@ -123,7 +123,7 @@
 	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);