aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-02-04 01:17:22 +0100
committerKim Alvefur <zash@zash.se>2018-02-04 01:17:22 +0100
commit9cbd3fdfb49dc7cc8685edaa49d4f95988325ac0 (patch)
tree59013436c4a8b30919acd19ebed31ee9af9ba965 /plugins
parent52e0eebab51a474b288f252a1a133275cdaa2f2d (diff)
downloadprosody-9cbd3fdfb49dc7cc8685edaa49d4f95988325ac0.tar.gz
prosody-9cbd3fdfb49dc7cc8685edaa49d4f95988325ac0.zip
mod_dialback: Ignore unused arguments [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_dialback.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua
index 6a915576..eddc3209 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -190,7 +190,7 @@ module:hook("stanza/jabber:server:dialback:result", function(event)
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 @@ module:hook_tag("urn:ietf:params:xml:ns:xmpp-sasl", "failure", function (origin,
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);