syntax fix in timers

This commit is contained in:
reality 2013-06-09 15:25:31 +00:00
parent 8a7333cef3
commit 9dc9ebfd2e

View File

@ -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 {