mirror of
https://github.com/reality/dbot.git
synced 2025-01-11 20:42:37 +01:00
fix db pointer for imgur olDB
This commit is contained in:
parent
3726be64b7
commit
150821cbb3
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user