aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 = [