mod_saslauth: Remove unused argument [luacheck]

This commit is contained in:
Kim Alvefur 2017-04-01 22:34:15 +02:00
parent c95b62d5e2
commit 3e4952567c

View file

@ -82,7 +82,7 @@ local function sasl_process_cdata(session, stanza)
return true; return true;
end end
module:hook_tag(xmlns_sasl, "success", function (session, stanza) module:hook_tag(xmlns_sasl, "success", function (session)
if session.type ~= "s2sout_unauthed" or session.external_auth ~= "attempting" then return; end if session.type ~= "s2sout_unauthed" or session.external_auth ~= "attempting" then return; end
module:log("debug", "SASL EXTERNAL with %s succeeded", session.to_host); module:log("debug", "SASL EXTERNAL with %s succeeded", session.to_host);
session.external_auth = "succeeded" session.external_auth = "succeeded"