forked from GitHub/dbot
fix imgur config pointer
This commit is contained in:
parent
fe965049f9
commit
ba9921919f
@ -3,7 +3,7 @@ var _ = require('underscore')._;
|
|||||||
var pages = function(dbot) {
|
var pages = function(dbot) {
|
||||||
return {
|
return {
|
||||||
'/imgur/random': function(req, res) {
|
'/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;
|
highScore = 0;
|
||||||
|
|
||||||
if(quoteCat) {
|
if(quoteCat) {
|
||||||
|
Loading…
Reference in New Issue
Block a user