fix imgur config pointer

This commit is contained in:
reality 2013-07-27 23:08:32 +00:00
parent fe965049f9
commit ba9921919f

View File

@ -3,7 +3,7 @@ var _ = require('underscore')._;
var pages = function(dbot) {
return {
'/imgur/random': function(req, res) {
var quoteCat = dbot.db.quoteArrs[dbot.config.imgur.highscore],
var quoteCat = dbot.db.quoteArrs[dbot.config.modules.imgur.highscore],
highScore = 0;
if(quoteCat) {