mod_s2s: Remove unused argument [luacheck]
authorKim Alvefur <zash@zash.se>
Tue, 05 Dec 2017 12:35:01 +0100
changeset 8465 60d508f411a1
parent 8464 0f05d6535dfa
child 8466 d81ebb1ef5ce
mod_s2s: Remove unused argument [luacheck]
plugins/mod_s2s/mod_s2s.lua
--- a/plugins/mod_s2s/mod_s2s.lua	Tue Dec 05 12:34:50 2017 +0100
+++ b/plugins/mod_s2s/mod_s2s.lua	Tue Dec 05 12:35:01 2017 +0100
@@ -63,7 +63,7 @@
 	session.log("info", "Sending error replies for "..#sendq.." queued stanzas because of failed outgoing connection to "..tostring(session.to_host));
 	local dummy = {
 		type = "s2sin";
-		send = function(s)
+		send = function ()
 			(session.log or log)("error", "Replying to to an s2s error reply, please report this! Traceback: %s", traceback());
 		end;
 		dummy = true;