Diff

plugins/mod_saslauth.lua @ 8042:5d5afaafac0f

mod_saslauth: Remove unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Sat, 01 Apr 2017 22:34:15 +0200
parent 7962:4e9b307c30dd
child 8234:97b3ca502547
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"