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:
parent
a992e65b6e
commit
bb129c32ba
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user