mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
syntax fix in timers
This commit is contained in:
parent
8a7333cef3
commit
9dc9ebfd2e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user