util.openssl: Separate extension sections into one for self-signed certs and one...
[prosody.git] / util / watchdog.lua
index 9603141568ea28119d7c4a5946c8af89188e626d..bcb2e274dd609935b9613b4c63dbc7db352ea980 100644 (file)
@@ -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);