Diff

plugins/mod_dialback.lua @ 8517:980d2daf3ed4

mod_dialback: Ignore unused arguments [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 04 Feb 2018 01:17:22 +0100
parent 8516:83cab25465e6
child 8518:0de0018bdf91
line wrap: on
line diff
--- a/plugins/mod_dialback.lua	Sun Feb 04 01:16:43 2018 +0100
+++ b/plugins/mod_dialback.lua	Sun Feb 04 01:17:22 2018 +0100
@@ -190,7 +190,7 @@
 	end
 end);
 
-module:hook_tag("urn:ietf:params:xml:ns:xmpp-sasl", "failure", function (origin, stanza)
+module:hook_tag("urn:ietf:params:xml:ns:xmpp-sasl", "failure", function (origin, stanza) -- luacheck: ignore 212/stanza
 	if origin.external_auth == "failed" then
 		module:log("debug", "SASL EXTERNAL failed, falling back to dialback");
 		initiate_dialback(origin);
@@ -198,7 +198,7 @@
 	end
 end, 100);
 
-module:hook_tag(xmlns_stream, "features", function (origin, stanza)
+module:hook_tag(xmlns_stream, "features", function (origin, stanza) -- luacheck: ignore 212/stanza
 	if not origin.external_auth or origin.external_auth == "failed" then
 		module:log("debug", "Initiating dialback...");
 		initiate_dialback(origin);