aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-05 12:35:01 +0100
committerKim Alvefur <zash@zash.se>2017-12-05 12:35:01 +0100
commitce9705293d3b9db1a0144b8ee93e021cfb33ff0b (patch)
tree85d78c07ab385577e78c019cf5d19ae4bbf019f4 /plugins/mod_s2s
parent3e2ac2a4881974f890200e98704f67fda61f568a (diff)
downloadprosody-ce9705293d3b9db1a0144b8ee93e021cfb33ff0b.tar.gz
prosody-ce9705293d3b9db1a0144b8ee93e021cfb33ff0b.zip
mod_s2s: Remove unused argument [luacheck]
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index 1712ff61..a63892a5 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -63,7 +63,7 @@ local function bounce_sendq(session, reason)
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;