3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

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
'~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');