fixed triggers for bot (via ame)

This commit is contained in:
neersighted 2012-02-29 00:44:06 -08:00
parent ed50bc746c
commit 36e94de95f

View file

@ -157,7 +157,7 @@ def main(conn, out):
prefix = r'^(?:[' + commandprefix + ']|'
command_re = prefix + inp.conn.nick
command_re += r'[:]+\s+)(\w+)(?:$|\s+)(.*)'
command_re += r'[,;:]+\s+)(\w+)(?:$|\s+)(.*)'
m = re.match(command_re, inp.lastparam)