aboutsummaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.py b/config.py
index 0ae7681..2dd6ac2 100644
--- a/config.py
+++ b/config.py
@@ -17,7 +17,7 @@ irc_channels = [
def default_command(cmd):
return {
'capname': cmd,
- 'pattern': '^(?:' + name + '|\\*):\\s*' + cmd + '\\s*$',
+ 'pattern': '^(?:' + name + '|\\*):\\s*' + cmd + '\\s*(?:\\s+(?P<args>.*))?$',
'argv': [ 'commands/' + cmd ] }
commands = [