From 9dc9ebfd2e23e66489327b5c9811a2c1175afd51 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 9 Jun 2013 15:25:31 +0000 Subject: [PATCH] syntax fix in timers --- modules/timers/timers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/timers/timers.js b/modules/timers/timers.js index 2acb505..a3fc80f 100644 --- a/modules/timers/timers.js +++ b/modules/timers/timers.js @@ -37,7 +37,7 @@ var timers = function(dbot) { }, 'addTimeout': function(date, callback, params) { - var now = new Date().getTime() + var now = new Date().getTime(), timeout = date.getTime() - now; this.runningTimeouts.push(setTimeout(function() { try {