Comparison

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
comparison
equal deleted inserted replaced
8461:0f05d6535dfa 8462:60d508f411a1
61 local sendq = session.sendq; 61 local sendq = session.sendq;
62 if not sendq then return; end 62 if not sendq then return; end
63 session.log("info", "Sending error replies for "..#sendq.." queued stanzas because of failed outgoing connection to "..tostring(session.to_host)); 63 session.log("info", "Sending error replies for "..#sendq.." queued stanzas because of failed outgoing connection to "..tostring(session.to_host));
64 local dummy = { 64 local dummy = {
65 type = "s2sin"; 65 type = "s2sin";
66 send = function(s) 66 send = function ()
67 (session.log or log)("error", "Replying to to an s2s error reply, please report this! Traceback: %s", traceback()); 67 (session.log or log)("error", "Replying to to an s2s error reply, please report this! Traceback: %s", traceback());
68 end; 68 end;
69 dummy = true; 69 dummy = true;
70 close = function () 70 close = function ()
71 (session.log or log)("error", "Attempting to close the dummy origin of s2s error replies, please report this! Traceback: %s", traceback()); 71 (session.log or log)("error", "Attempting to close the dummy origin of s2s error replies, please report this! Traceback: %s", traceback());