# HG changeset patch # User Kim Alvefur # Date 1512473701 -3600 # Node ID 60d508f411a15d606c7072f07fcc68225765bd1c # Parent 0f05d6535dfa0c73f46c59d3df4cafd0c9a52457 mod_s2s: Remove unused argument [luacheck] diff -r 0f05d6535dfa -r 60d508f411a1 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;