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:
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