Diff

plugins/mod_s2s/mod_s2s.lua @ 8462:60d508f411a1

mod_s2s: Remove unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Tue, 05 Dec 2017 12:35:01 +0100
parent 8461:0f05d6535dfa
child 8463:d81ebb1ef5ce
line wrap: on
line diff
--- 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;