From 2677834aad236f91b19a74007fc47c3b18c9be1c Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 29 Dec 2013 18:19:17 +0000 Subject: [PATCH] fix regexen --- modules/admin/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/admin/commands.js b/modules/admin/commands.js index c523212..98b64a9 100644 --- a/modules/admin/commands.js +++ b/modules/admin/commands.js @@ -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; };