# HG changeset patch # User Kim Alvefur # Date 1428245269 -7200 # Node ID 071611bc4f1d22b28c84b5c757630be36aaf0599 # Parent bae327ea487af417254f2bd832275fd0dd1ead0b mod_s2s: Catch attempt to close dummy origin of s2s error replies (fixes a top level error) diff -r bae327ea487a -r 071611bc4f1d plugins/mod_s2s/mod_s2s.lua --- a/plugins/mod_s2s/mod_s2s.lua Sun Apr 05 16:24:10 2015 +0200 +++ b/plugins/mod_s2s/mod_s2s.lua Sun Apr 05 16:47:49 2015 +0200 @@ -54,6 +54,9 @@ (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];