changeset 3770 | f547eafb5a6d |
parent 3769 | 11878130f266 |
child 3773 | ce1a32aa8bca |
--- a/mod_s2s_keepalive/mod_s2s_keepalive.lua Sat Dec 21 17:52:32 2019 +0100 +++ b/mod_s2s_keepalive/mod_s2s_keepalive.lua Sat Dec 21 18:38:22 2019 +0100 @@ -62,8 +62,8 @@ if origin.watchdog_keepalive then origin.watchdog_keepalive:reset(); end - if s2sout[origin.from_host] then - s2sout[origin.from_host]:reset(); + if s2sout[origin.from_host] and s2sout[origin.from_host].watchdog_keepalive then + s2sout[origin.from_host].watchdog_keepalive:reset(); end end);