This commit is contained in:
reality 2013-05-27 17:48:36 +00:00
parent 429eafd8e4
commit 3726be64b7

View File

@ -24,7 +24,7 @@ var command = function(dbot) {
dbot.api.ignore.isUserIgnoring(event.server, event.user, commandName, function(isIgnoring) {
dbot.api.ignore.isUserBanned(event.server, event.user, commandName, function(isBanned) {
if(isBanned) {
if(this.config.banOutput === true && commandName != '~') {
if(this.config.banOutput && commandName != '~') {
event.reply(dbot.t('command_ban', {'user': event.user}));
}
} else if(!hasAccess) {