# HG changeset patch # User Kim Alvefur # Date 1478462541 -3600 # Node ID dd1f0173f5380b3971c8553fa60474fc66e669fe # Parent 2df32ac11b31043498feb3d3c10d4741de7224f5 mod_watchuntrusted: Fix backwards time comparison diff -r 2df32ac11b31 -r dd1f0173f538 mod_watchuntrusted/mod_watchuntrusted.lua --- a/mod_watchuntrusted/mod_watchuntrusted.lua Fri Nov 04 22:35:09 2016 +0100 +++ b/mod_watchuntrusted/mod_watchuntrusted.lua Sun Nov 06 21:02:21 2016 +0100 @@ -64,7 +64,7 @@ module:add_timer(14400, function (now) for host, time in pairs(notified_about_already) do - if time + 86400 > now then + if time + 86400 < now then notified_about_already[host] = nil; end end