From c1157eb0aeaa1493d3e8bc53871943f41833bb53 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 4 Feb 2018 01:05:06 +0100 Subject: mod_saslauth: Ignore unused argument [luacheck] --- plugins/mod_saslauth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index f747ab40..fba84ef8 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -113,7 +113,7 @@ module:hook_tag(xmlns_sasl, "failure", function (session, stanza) session.external_auth_failure_reason = condition; end, 500) -module:hook_tag(xmlns_sasl, "failure", function (session, stanza) +module:hook_tag(xmlns_sasl, "failure", function (session, stanza) -- luacheck: ignore 212/stanza session.log("debug", "No fallback from SASL EXTERNAL failure, giving up"); session:close(nil, session.external_auth_failure_reason); return true; -- cgit v1.2.3