Software /
code /
prosody
Changeset
8517:980d2daf3ed4
mod_dialback: Ignore unused arguments [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 04 Feb 2018 01:17:22 +0100 |
parents | 8516:83cab25465e6 |
children | 8518:0de0018bdf91 8538:3eb4cafb3b64 |
files | plugins/mod_dialback.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);