Changeset

8513:c6be9bbd0a1a

mod_saslauth: Ignore unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 04 Feb 2018 01:05:06 +0100 (2018-02-04)
parents 8512:e924a99fd435
children 8514:671343e92070
files plugins/mod_saslauth.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;