3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

syntax error

This commit is contained in:
reality 2013-07-24 22:48:35 +00:00
parent f882d16313
commit 55d8e9257e

View File

@ -31,7 +31,7 @@ var command = function(dbot) {
if(this.config.accessOutput) { if(this.config.accessOutput) {
event.reply(dbot.t('access_denied', { 'user': event.user })); 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)) { if(this.api.applyRegex(commandName, event)) {
try { try {
var command = dbot.commands[commandName]; var command = dbot.commands[commandName];