changeset 3117 | 8298b06e6603 |
parent 3107 | 5bf79bb3cf7e |
--- a/mod_pinger/mod_pinger.lua Sat Jun 09 21:19:54 2018 +0200 +++ b/mod_pinger/mod_pinger.lua Wed Jun 13 08:16:45 2018 +0200 @@ -6,8 +6,10 @@ local ping_timeout = module:get_option_number("c2s_ping_timeout", 30); function update_watchdog(data, session) - session.idle_watchdog:reset(); - session.idle_pinged = nil; + if session.idle_watchdog then + session.idle_watchdog:reset(); + session.idle_pinged = nil; + end return data; end