aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-04-25 12:12:18 +0200
committermakefu <root@pigstarter.de>2014-04-25 12:12:18 +0200
commit2c8b4ba157c082e298f71c45f5f8c8b50ff7e97f (patch)
treeb2c989da7747bd22d6e7c71b455dd46b3fe26a53
parentd7bdbaaa1659289be2b07a532f98058ecba32916 (diff)
add ^
-rw-r--r--titlebot/titlebot.py2
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 = [