mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +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) {
|
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];
|
||||||
|
Loading…
Reference in New Issue
Block a user