denoodle the core

This commit is contained in:
Luke Rogers 2013-09-05 16:17:39 +12:00
parent f788af8d55
commit 8881f694fa
2 changed files with 2 additions and 2 deletions

View file

@ -156,7 +156,7 @@ def main(conn, out):
if inp.chan == inp.nick: # private message, no command prefix
prefix = '^(?:[{}]?|'.format(command_prefix)
else:
prefix = '^(?:[%s]|'.format(command_prefix)
prefix = '^(?:[{}]|'.format(command_prefix)
command_re = prefix + inp.conn.nick
command_re += r'[,;:]+\s+)(\w+)(?:$|\s+)(.*)'