forked from GitHub/dbot
Missed a return in qstats
This commit is contained in:
parent
a992e65b6e
commit
bb129c32ba
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user