From bb129c32ba2821734c460abc56fb6fd753de674e Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Mon, 25 Jun 2012 00:00:52 +0100 Subject: [PATCH] Missed a return in qstats --- modules/quotes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/quotes.js b/modules/quotes.js index 16ad6a4..e372090 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -57,7 +57,7 @@ var quotes = function(dbot) { // Shows a list of the biggest categories '~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(); var qString = dbot.t('large_categories');