Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BobVul committed Nov 7, 2015
1 parent 4b456b8 commit 8afe1f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ bot.memory = {
saveLoop : function () {
clearTimeout( this.saveIntervalId );
setTimeout( this.saveLoop.bind(this), this.saveInterval );
}
},

clear : function () {
Object.iterate( localStorage, function ( key, val ) {
Expand All @@ -323,6 +323,7 @@ bot.memory = {
}
});
this.data = {};
}
};

bot.memory.loadAll();
Expand Down

0 comments on commit 8afe1f0

Please sign in to comment.