fix ban count

This commit is contained in:
reality 2016-01-29 22:13:44 +00:00
parent a52fdbcea5
commit da2ad191c9

View File

@ -130,7 +130,7 @@ var commands = function(dbot) {
items[notify.time] = notify; items[notify.time] = notify;
} }
}, function() { }, 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.'); event.reply(user.primaryNick + ' has been warned ' + warn + ' times, quieted ' + quiet + ' times, and reported ' + report + ' times.');
var sTimes = _.keys(items).sort(function(a, b) { var sTimes = _.keys(items).sort(function(a, b) {