truncates messages from server: inconsistency with RFC1459
Brought to you by:
gyunaev
After seeing that libircclient 1.8 truncates messages coming from some servers (specially the ones with event number "5", that should end in "are supported by this server") I saw this in the file libircclient.c, line 498:
#define MAX_PARAMS_ALLOWED 10
however, the RFC:
http://tools.ietf.org/html/rfc1459.html#section-2.3
says that:
"Each IRC message may consist of up to three main parts: the prefix
(optional), the command, and the command parameters (of which there
may be up to 15)."
So I think MAX_PARAMS_ALLOWED should be raised to 15, or even more (e.g. 20).
Raising it to a greater number solved the problem in my case.