patch d689d9ba72a0680d87eca5ed23c26da5438477b5 Author: E. Bosch Date: Thu Nov 19 20:54:39 CET 2020 * Improve the regular expression for USER command, make it compatible with more clients diff -rN -u old-irgramd/irc.py new-irgramd/irc.py --- old-irgramd/irc.py 2024-11-23 09:58:18.244505165 +0100 +++ new-irgramd/irc.py 2024-11-23 09:58:18.244505165 +0100 @@ -25,7 +25,7 @@ IRC_PASS_RX = re.compile(r'PASS :(?P[^\s]+) (?P[^\n\r]+)') IRC_PING_RX = re.compile(r'PING (?P[^\n\r]+)') IRC_PRIVMSG_RX = re.compile(r'PRIVMSG (?P[^\s]+) :(?P[^\n\r]+)') -IRC_USER_RX = re.compile(r'USER (?P[^\s]+) 0 \* :(?P[^\n\r]+)') +IRC_USER_RX = re.compile(r'USER (?P[^\s]+) [^\s]+ [^\s]+ :(?P[^\n\r]+)') # IRC Handler