Merge github.com:reality/depressionbot into database

This commit is contained in:
reality 2013-05-20 15:35:42 +00:00
commit 48ce88490d

View File

@ -58,6 +58,7 @@ var imgur = function(dbot) {
if (_.contains(category, testUrl)){ if (_.contains(category, testUrl)){
// there's probably less than 62^5 chance of this happening // there's probably less than 62^5 chance of this happening
} else { } else {
if(!_.has(dbot.db.quoteArrs, category)) dbot.db.quoteArrs[category] = [];
dbot.db.quoteArrs[category].push(testUrl); dbot.db.quoteArrs[category].push(testUrl);
} }
} }