irc: Improve the parsing
authorE. Bosch <presidev@AT@gmail.com>
local dateWed, 17 Feb 2021 02:53:21
dateWed, 17 Feb 2021 01:53:21
hashb2ed84c15eb61138a3ed6f39254b54a2e9536345
irc: Improve the parsing


Recognize commands case insensitive: the RFCs are not very concise about
this and I don't know about clients sending commands in lower case but
just in case and it won't hurt

Line terminator: according RFCs should be \r\n but some clients only
send \n, I was confused about this but the parser must be robust and
now any combination of \r and \n is recognized
1 file(s) changed:
irc.py +2 -2