forked from GitHub/dbot
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) {
|
'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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user