3
0
mirror of https://github.com/reality/dbot.git synced 2025-01-23 18:44:14 +01:00
This commit is contained in:
reality 2015-04-25 10:35:40 +00:00
parent 42952a24e5
commit cb2e4da2ae

View File

@ -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) {