projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mod_saslauth: Only do c2s SASL on normal VirtualHosts
[prosody.git]
/
util
/
watchdog.lua
diff --git
a/util/watchdog.lua
b/util/watchdog.lua
index 9603141568ea28119d7c4a5946c8af89188e626d..bcb2e274dd609935b9613b4c63dbc7db352ea980 100644
(file)
--- 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);