forked from GitHub/dbot
fix ban count
This commit is contained in:
parent
a52fdbcea5
commit
da2ad191c9
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user