Merge 0.10->trunk
[prosody.git] / plugins / mod_s2s / mod_s2s.lua
index 16320ad169afd651a081daaa4d05f23556aead9a..431e712c94b5bd3279cba8cc0f547b019e13c9f7 100644 (file)
@@ -56,6 +56,9 @@ local function bounce_sendq(session, reason)
                        (session.log or log)("error", "Replying to to an s2s error reply, please report this! Traceback: %s", traceback());
                end;
                dummy = true;
+               close = function ()
+                       (session.log or log)("error", "Attempting to close the dummy origin of s2s error replies, please report this! Traceback: %s", traceback());
+               end;
        };
        for i, data in ipairs(sendq) do
                local reply = data[2];