fix db pointer for imgur olDB

This commit is contained in:
reality 2013-05-28 17:40:25 +00:00
parent 3726be64b7
commit 150821cbb3

View File

@ -196,6 +196,7 @@ var imgur = function(dbot) {
if(!_.has(dbot.db.imgur, 'totalHttpRequests')) dbot.db.imgur.totalHttpRequests = 0;
if(!_.has(dbot.db.imgur, 'totalApiRequests')) dbot.db.imgur.totalApiRequests = 0;
if(!_.has(dbot.db.imgur, 'totalImages')) dbot.db.imgur.totalImages = 0;
this.db = dbot.db.imgur;
}.bind(this);
};