3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

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;
}
}, 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) {