From cb2e4da2aeb6a1dc4b61030270620d785667f98f Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 25 Apr 2015 10:35:40 +0000 Subject: [PATCH] meh --- modules/report/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/report/commands.js b/modules/report/commands.js index 7aba249..cb29aac 100644 --- a/modules/report/commands.js +++ b/modules/report/commands.js @@ -127,7 +127,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 moment(a).unix() - moment(b).unix(); + return parseInt(a) - parseInt(b); }); _.each(sTimes, function(time) {