aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-02-04 01:05:06 +0100
committerKim Alvefur <zash@zash.se>2018-02-04 01:05:06 +0100
commitaaa7b42c76f5254c179ff24e536f1114edd6e3dd (patch)
treeded8d9317b440c3af1d5327c1da94871daf66b27 /plugins
parent1d0cbb646de4c3cdb94a018c415eedb8e720d204 (diff)
downloadprosody-aaa7b42c76f5254c179ff24e536f1114edd6e3dd.tar.gz
prosody-aaa7b42c76f5254c179ff24e536f1114edd6e3dd.zip
mod_saslauth: Ignore unused argument [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
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;