From da2ad191c917df45128e45dacc5f7e517ecb0603 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 29 Jan 2016 22:13:44 +0000 Subject: [PATCH] fix ban count --- 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 f481444..f5d90cb 100644 --- a/modules/report/commands.js +++ b/modules/report/commands.js @@ -130,7 +130,7 @@ var commands = function(dbot) { items[notify.time] = notify; } }, function() { - if(quiet != 0 || warn != 0 || report != 0) { + if(quiet != 0 || warn != 0 || report != 0 || ban != 0) { event.reply(user.primaryNick + ' has been warned ' + warn + ' times, quieted ' + quiet + ' times, and reported ' + report + ' times.'); var sTimes = _.keys(items).sort(function(a, b) {