Changeset

8042:5d5afaafac0f

mod_saslauth: Remove unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Sat, 01 Apr 2017 22:34:15 +0200
parents 8041:3b2cc22e9b5b
children 8043:e7561d56008d 8045:55a56dc935f2
files plugins/mod_saslauth.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Sat Apr 01 22:30:37 2017 +0200
+++ b/plugins/mod_saslauth.lua	Sat Apr 01 22:34:15 2017 +0200
@@ -82,7 +82,7 @@
 	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"