patch a9a417e6056eebbd3a05bfb65fc1c2a79808c12d
Author: E. Bosch <presidev@AT@gmail.com>
Date: Wed Feb 17 02:48:48 CET 2021
* irc: Fix JOIN and NAMES command regular expressions
hunk ./irc.py 27
-IRC_JOIN_RX = re.compile(PREFIX + r'JOIN( +|\n)(?P<channels>[^ ]+)')
-IRC_NAMES_RX = re.compile(PREFIX + r'NAMES( +|\n)(?P<channels>[^ ]+)')
+IRC_JOIN_RX = re.compile(PREFIX + r'JOIN( +:| +|\n)(?P<channels>[^\n]+|)')
+IRC_NAMES_RX = re.compile(PREFIX + r'NAMES( +:| +|\n)(?P<channels>[^\n]+|)')