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

Don't fail to have a realityonce quote array.

This commit is contained in:
Psychedelic Squid 2012-03-07 04:25:07 +00:00
parent fbab79c567
commit 61c6aaf187

3
run.js
View File

@ -20,6 +20,9 @@ var DBot = function(timers) {
if(!this.db.hasOwnProperty("quoteArrs")) {
this.db.quoteArrs = {};
}
if(!this.db.quoteArrs.hasOwnProperty("realityonce")) {
this.db.quoteArrs.realityonce = [];
}
if(!this.db.hasOwnProperty("kicks")) {
this.db.kicks = {};
}