From 028f56c2892b98d96e7eb1126054b16553a46df4 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 14 Mar 2015 13:59:45 +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 321265b..d4307fa 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)); + 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('Most recent ban reason: ' + latest_ban.message); } } else {