summaryrefslogtreecommitdiffstats
path: root/Reaktor/config.py
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-12-19 02:27:45 +0100
committerlassulus <lassulus@googlemail.com>2013-12-19 02:27:45 +0100
commit5e468c5d642311523cbc38cc84c9402072e48fd1 (patch)
tree7649e870de7af812a800c4d2a4b3fd31656daeee /Reaktor/config.py
parentec557236d0482a9f9285f803e1828d5f555e9ac8 (diff)
Reaktor/IRC: provide arguments to commands
Diffstat (limited to 'Reaktor/config.py')
-rw-r--r--Reaktor/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Reaktor/config.py b/Reaktor/config.py
index 0ae76811..2dd6ac2f 100644
--- a/Reaktor/config.py
+++ b/Reaktor/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 = [