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

Don't error if regex syntax is invalid for ~ default.

This commit is contained in:
Luke Slater 2012-05-23 18:50:21 +01:00
parent 55dec12324
commit aa72af3867

View File

@ -69,10 +69,12 @@ var command = function(dbot) {
dbot.commands[commandName](event);
dbot.save();
} else {
if(commandName !== '~') {
event.reply(dbot.t('syntax_error'));
}
}
}
}
},
'on': 'PRIVMSG',