3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

fix regexen

This commit is contained in:
reality 2013-12-29 18:19:17 +00:00
parent c73deb5974
commit 2677834aad

View File

@ -300,8 +300,8 @@ var commands = function(dbot) {
commands['~opme'].access = 'moderator';
commands['~say'].access = 'moderator';
commands['~pushconfig'].regex = [/~pushconfig ([^ ]+) ([^ ]+)/, 3];
commands['~setconfig'].regex = [/~setconfig ([^ ]+) ([^ ]+)/, 3];
commands['~pushconfig'].regex = [/pushconfig ([^ ]+) ([^ ]+)/, 3];
commands['~setconfig'].regex = [/setconfig ([^ ]+) ([^ ]+)/, 3];
return commands;
};