# HG changeset patch # User Kim Alvefur # Date 1517703442 -3600 # Node ID 980d2daf3ed48292cabfa6fad5bd430eb224a1d6 # Parent 83cab25465e620bc8a53effa596fcd6b7b09c6ce mod_dialback: Ignore unused arguments [luacheck] diff -r 83cab25465e6 -r 980d2daf3ed4 plugins/mod_dialback.lua --- a/plugins/mod_dialback.lua Sun Feb 04 01:16:43 2018 +0100 +++ b/plugins/mod_dialback.lua Sun Feb 04 01:17:22 2018 +0100 @@ -190,7 +190,7 @@ end end); -module:hook_tag("urn:ietf:params:xml:ns:xmpp-sasl", "failure", function (origin, stanza) +module:hook_tag("urn:ietf:params:xml:ns:xmpp-sasl", "failure", function (origin, stanza) -- luacheck: ignore 212/stanza if origin.external_auth == "failed" then module:log("debug", "SASL EXTERNAL failed, falling back to dialback"); initiate_dialback(origin); @@ -198,7 +198,7 @@ end end, 100); -module:hook_tag(xmlns_stream, "features", function (origin, stanza) +module:hook_tag(xmlns_stream, "features", function (origin, stanza) -- luacheck: ignore 212/stanza if not origin.external_auth or origin.external_auth == "failed" then module:log("debug", "Initiating dialback..."); initiate_dialback(origin);