ah just remove that shit for now

This commit is contained in:
reality 2013-07-27 23:11:02 +00:00
parent ba9921919f
commit e3b35adb1c

View File

@ -3,13 +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.modules.imgur.highscore], var highScore = 0;
highScore = 0;
if(quoteCat) {
highScore = _.last(quoteCat);
}
res.render('imgurr', { "highscore" : highScore }); res.render('imgurr', { "highscore" : highScore });
}, },