Increase the linebuf length to fit a full message including tags.

This commit is contained in:
Sadie Powell 2021-08-23 23:00:07 +01:00 committed by Patrick
parent ef0e670392
commit 899b4cd3eb
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ typedef struct server
char servername[128]; /* what the server says is its name */
char password[86];
char nick[NICKLEN];
char linebuf[2048]; /* RFC says 512 chars including \r\n */
char linebuf[8704]; /* RFC says 512 chars including \r\n, IRCv3 message tags add 8191, plus the NUL byte */
char *last_away_reason;
int pos; /* current position in linebuf */
int nickcount;