From 3726be64b7482e3b818c40b9902794fb40cde0fb Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 27 May 2013 17:48:36 +0000 Subject: [PATCH] yee --- modules/command/command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/command/command.js b/modules/command/command.js index 4a68692..a5f2b33 100644 --- a/modules/command/command.js +++ b/modules/command/command.js @@ -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) {