aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
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
commite803ffc6fee0183f95aeeb0631d9e3d46ca6e0cf (patch)
tree85d78c07ab385577e78c019cf5d19ae4bbf019f4 /plugins/mod_s2s/mod_s2s.lua
parenteac8dbee7bfe1c1da57e34dad943c1d73c97ee2e (diff)
downloadprosody-e803ffc6fee0183f95aeeb0631d9e3d46ca6e0cf.tar.gz
prosody-e803ffc6fee0183f95aeeb0631d9e3d46ca6e0cf.zip
mod_s2s: Remove unused argument [luacheck]
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-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;