Diff

plugins/mod_saslauth.lua @ 8513:c6be9bbd0a1a

mod_saslauth: Ignore unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 04 Feb 2018 01:05:06 +0100
parent 8512:e924a99fd435
child 9738:f5aa6fdc935e
child 11212:1bfd238e05ad
line wrap: on
line diff
--- 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;