3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00

fix add on empty cat

This commit is contained in:
reality 2013-05-20 15:35:01 +00:00
parent 5fd7e2ca50
commit 648b44b298

View File

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