3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

syntax error in previous commit

This commit is contained in:
reality 2013-01-20 21:28:44 +00:00
parent d9bd2eb492
commit 4d7e9343a4

View File

@ -30,10 +30,10 @@ var timers = function(dbot) {
};
this.onDestroy = function() {
for(var i=0;i<this.runningTimeouts;i++ {
for(var i=0;i<this.runningTimeouts;i++) {
clearTimeout(this.runningTimeouts[i]);
}
for(i=0;i<this.runningIntervals;i++ {
for(i=0;i<this.runningIntervals;i++) {
clearTimer(this.runningIntervals[i]);
}
}.bind(this);