3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

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) { 'addTimeout': function(date, callback, params) {
var now = new Date().getTime() var now = new Date().getTime(),
timeout = date.getTime() - now; timeout = date.getTime() - now;
this.runningTimeouts.push(setTimeout(function() { this.runningTimeouts.push(setTimeout(function() {
try { try {