denoodle the core
This commit is contained in:
parent
f788af8d55
commit
8881f694fa
2 changed files with 2 additions and 2 deletions
|
@ -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+)(.*)'
|
||||
|
|
Reference in a new issue