aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/watchdog.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/watchdog.lua b/util/watchdog.lua
index 96031415..bcb2e274 100644
--- a/util/watchdog.lua
+++ b/util/watchdog.lua
@@ -16,7 +16,7 @@ function new(timeout, callback)
end
local time_left = (last_reset + timeout) - current_time;
if time_left < 0 then
- return watchdog.callback();
+ return watchdog:callback();
end
return time_left + 1;
end);