mod_s2s_keepalive: Mark ping response event as handled
authorKim Alvefur <zash@zash.se>
Sun, 22 Dec 2019 15:49:41 +0100
changeset 3774 ae34ee0867f0
parent 3773 ce1a32aa8bca
child 3775 98e1e3ce307d
mod_s2s_keepalive: Mark ping response event as handled Silences a debug message about the response being discarded.
mod_s2s_keepalive/mod_s2s_keepalive.lua
--- 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)