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:
parent
a52fdbcea5
commit
da2ad191c9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user