diff --git a/modules/report/commands.js b/modules/report/commands.js index f5d90cb..a8b6a75 100644 --- a/modules/report/commands.js +++ b/modules/report/commands.js @@ -134,7 +134,7 @@ var commands = function(dbot) { event.reply(user.primaryNick + ' has been warned ' + warn + ' times, quieted ' + quiet + ' times, and reported ' + report + ' times.'); var sTimes = _.keys(items).sort(function(a, b) { - return parseInt(a.time) - parseInt(b.time); + return parseInt(a) - parseInt(b); }); if(sTimes.length < 70) {