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 dc4e28a..396b9b5 100644
--- a/titlebot/titlebot.py
+++ b/titlebot/titlebot.py
@@ -36,7 +36,7 @@ def default_command(cmd):
def titlebot_cmd(cmd):
return {
'capname': cmd,
- 'pattern': '\\.' + cmd + '\\s*(?:\\s+(?P<args>.*))?$',
+ 'pattern': '^\\.' + cmd + '\\s*(?:\\s+(?P<args>.*))?$',
'argv': [ 'titlebot/commands/' + cmd ] }
public_commands = [