# HG changeset patch # User Kim Alvefur # Date 1577025980 -3600 # Node ID ce1a32aa8bcaf0d587e5458ea88e019f6fc25d6e # Parent bfc4d495bf2cb8cfce882e59f6a7064c8791b233 mod_s2s_keepalive: Include event payload in re-fired event (fix traceback) diff -r bfc4d495bf2c -r ce1a32aa8bca mod_s2s_keepalive/mod_s2s_keepalive.lua --- a/mod_s2s_keepalive/mod_s2s_keepalive.lua Sat Dec 21 18:50:36 2019 +0100 +++ b/mod_s2s_keepalive/mod_s2s_keepalive.lua Sun Dec 22 15:46:20 2019 +0100 @@ -74,7 +74,7 @@ if origin.type == "s2sin" or origin.type == "s2sout" then -- An error from the remote means connectivity is ok, -- so treat it the same as a result - return module:fire_event("iq-result/host/keepalive"); + return module:fire_event("iq-result/host/keepalive", event); end end);