From 55d8e9257e30ddd841af7d4c3b56dc5b24c85492 Mon Sep 17 00:00:00 2001 From: reality Date: Wed, 24 Jul 2013 22:48:35 +0000 Subject: [PATCH] syntax error --- 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 4ae1d55..0c37cab 100644 --- a/modules/command/command.js +++ b/modules/command/command.js @@ -31,7 +31,7 @@ var command = function(dbot) { if(this.config.accessOutput) { event.reply(dbot.t('access_denied', { 'user': event.user })); } - } else if(!isIgnoring && && _.has(dbot.commands, commandName) && !dbot.commands[commandName].disabled) { + } else if(!isIgnoring && _.has(dbot.commands, commandName) && !dbot.commands[commandName].disabled) { if(this.api.applyRegex(commandName, event)) { try { var command = dbot.commands[commandName];