aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-01 22:34:15 +0200
committerKim Alvefur <zash@zash.se>2017-04-01 22:34:15 +0200
commitac4e9ca0cc8bd6b946c0820cf24a39c333531a54 (patch)
tree74de8d1f5d34056f9d0243af052e30149edd31d8 /plugins
parent73414476f0e8342996043cd6aca901d76533c447 (diff)
downloadprosody-ac4e9ca0cc8bd6b946c0820cf24a39c333531a54.tar.gz
prosody-ac4e9ca0cc8bd6b946c0820cf24a39c333531a54.zip
mod_saslauth: Remove unused argument [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 8bbf6349..81400e45 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -82,7 +82,7 @@ local function sasl_process_cdata(session, stanza)
return true;
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
module:log("debug", "SASL EXTERNAL with %s succeeded", session.to_host);
session.external_auth = "succeeded"