diff options
author | makefu <root@pigstarter.de> | 2014-04-25 12:12:18 +0200 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2014-04-25 12:12:18 +0200 |
commit | 2c8b4ba157c082e298f71c45f5f8c8b50ff7e97f (patch) | |
tree | b2c989da7747bd22d6e7c71b455dd46b3fe26a53 /titlebot | |
parent | d7bdbaaa1659289be2b07a532f98058ecba32916 (diff) |
add ^
Diffstat (limited to 'titlebot')
-rw-r--r-- | titlebot/titlebot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/titlebot/titlebot.py b/titlebot/titlebot.py index d04789c..f85e69f 100644 --- a/titlebot/titlebot.py +++ b/titlebot/titlebot.py @@ -36,7 +36,7 @@ def default_command(cmd): def dot_command(cmd): return { 'capname': cmd, - 'pattern': '\\.' + cmd + '\\s*(?:\\s+(?P<args>.*))?$', + 'pattern': '^\\.' + cmd + '\\s*(?:\\s+(?P<args>.*))?$', 'argv': [ 'titlebot/commands/' + cmd ] } public_commands = [ |