Open PythooonUser opened 6 years ago
I think the PRIVMSG regex is trying to pull a message when there isn't one, seen on the Subscription USERNOTICE.
I've kludged the regex on L72 to:
_privmsg_params_re = re.compile('#(\w+)( :)*([\s\S]*)')
And then just ignored the extra group on L534:
params_match = _privmsg_params_re.match(params)
I'm sure theres a way to drop the unused group but it works at least.
HTH
Summary
The
USERNOTICE
event raises an exception under certain circumstances. Maybe it uses a specification not accounted for in the current regex implementation.The error message/event details reads: