Changeset

3769:ce1a32aa8bca

mod_s2s_keepalive: Include event payload in re-fired event (fix traceback)
author Kim Alvefur <zash@zash.se>
date Sun, 22 Dec 2019 15:46:20 +0100
parents 3768:bfc4d495bf2c
children 3770:ae34ee0867f0
files mod_s2s_keepalive/mod_s2s_keepalive.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);