mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 11:42:36 +01:00
syntax error
This commit is contained in:
parent
f882d16313
commit
55d8e9257e
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user