mod_s2s_keepalive: Mark ping response event as handled
Silences a debug message about the response being discarded.
--- 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)