diff options
author | lassulus <lassulus@googlemail.com> | 2013-12-19 02:27:45 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-12-19 02:27:45 +0100 |
commit | 5e468c5d642311523cbc38cc84c9402072e48fd1 (patch) | |
tree | 7649e870de7af812a800c4d2a4b3fd31656daeee /Reaktor/config.py | |
parent | ec557236d0482a9f9285f803e1828d5f555e9ac8 (diff) |
Reaktor/IRC: provide arguments to commands
Diffstat (limited to 'Reaktor/config.py')
-rw-r--r-- | Reaktor/config.py | 2 |
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 = [ |