# HG changeset patch # User Kim Alvefur # Date 1517702706 -3600 # Node ID c6be9bbd0a1a92f0c642f3cdc067535652d59b02 # Parent e924a99fd4356bb9a67186ef70afc9061acc867d mod_saslauth: Ignore unused argument [luacheck] diff -r e924a99fd435 -r c6be9bbd0a1a plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Sun Feb 04 01:03:44 2018 +0100 +++ b/plugins/mod_saslauth.lua Sun Feb 04 01:05:06 2018 +0100 @@ -113,7 +113,7 @@ 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;