Changeset

3770:ae34ee0867f0

mod_s2s_keepalive: Mark ping response event as handled Silences a debug message about the response being discarded.
author Kim Alvefur <zash@zash.se>
date Sun, 22 Dec 2019 15:49:41 +0100
parents 3769:ce1a32aa8bca
children 3771:98e1e3ce307d
files mod_s2s_keepalive/mod_s2s_keepalive.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_s2s_keepalive/mod_s2s_keepalive.lua	Sun Dec 22 15:46:20 2019 +0100
+++ b/mod_s2s_keepalive/mod_s2s_keepalive.lua	Sun Dec 22 15:49:41 2019 +0100
@@ -65,6 +65,7 @@
 	if s2sout[origin.from_host] and s2sout[origin.from_host].watchdog_keepalive then
 		s2sout[origin.from_host].watchdog_keepalive:reset();
 	end
+	return true;
 end);
 
 module:hook("iq-error/host/keepalive", function (event)