Improve the regular expression for USER command, make it compatible with more clients
patch d689d9ba72a0680d87eca5ed23c26da5438477b5
Author: E. Bosch <presidev@AT@gmail.com>
Date: Thu Nov 19 20:54:39 CET 2020
* Improve the regular expression for USER command, make it compatible with more clients
hunk ./irc.py 28
-IRC_USER_RX = re.compile(r'USER (?P<username>[^\s]+) 0 \* :(?P<realname>[^\n\r]+)')
+IRC_USER_RX = re.compile(r'USER (?P<username>[^\s]+) [^\s]+ [^\s]+ :(?P<realname>[^\n\r]+)')