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 {