From b54774994b2b4f378241122d96ba30b08545f150 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 14 Mar 2015 14:00:56 +0000 Subject: [PATCH] in days --- 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 d4307fa..4e65b1e 100644 --- a/modules/report/commands.js +++ b/modules/report/commands.js @@ -139,7 +139,7 @@ var commands = function(dbot) { } else { var a = moment(latest_ban.time); var b = moment(latest_unban.time); - event.reply('Current Ban Status: \u00037Unbanned\u000f since ' + moment(parseInt(latest_unban.time)).format('DD/MM/YYYY') + ' after being banned for ' + a.diff(b, 'days')); + event.reply('Current Ban Status: \u00037Unbanned\u000f since ' + moment(parseInt(latest_unban.time)).format('DD/MM/YYYY') + ' after being banned for ' + b.diff(a, 'days') + ' days'); event.reply('Most recent ban reason: ' + latest_ban.message); } } else {