mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-15 02:00:20 +00:00
Increase the linebuf length to fit a full message including tags.
This commit is contained in:
@@ -503,7 +503,7 @@ typedef struct server
|
|||||||
char servername[128]; /* what the server says is its name */
|
char servername[128]; /* what the server says is its name */
|
||||||
char password[86];
|
char password[86];
|
||||||
char nick[NICKLEN];
|
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;
|
char *last_away_reason;
|
||||||
int pos; /* current position in linebuf */
|
int pos; /* current position in linebuf */
|
||||||
int nickcount;
|
int nickcount;
|
||||||
|
|||||||
Reference in New Issue
Block a user