Missed a return in qstats

This commit is contained in:
Luke Slater 2012-06-25 00:00:52 +01:00
parent a992e65b6e
commit bb129c32ba

View File

@ -57,7 +57,7 @@ var quotes = function(dbot) {
// Shows a list of the biggest categories // Shows a list of the biggest categories
'~qstats': function(event) { '~qstats': function(event) {
var qSsizes = Object.prototype.sort(quotes, function(key, obj) { obj[key].length }); var qSsizes = Object.prototype.sort(quotes, function(key, obj) { return obj[key].length });
qSizes = qSizes.slice(qSizes.length - 10).reverse(); qSizes = qSizes.slice(qSizes.length - 10).reverse();
var qString = dbot.t('large_categories'); var qString = dbot.t('large_categories');