summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-08-23 23:00:07 +0100
committerPatrick <tingping@tingping.se>2021-08-24 16:40:54 -0500
commit899b4cd3eb85f46ee44e0ee7577ebaa43b082196 (patch)
treeba3a9f28524a6d5a03be69eb7faac8e2c5b4aba4 /src
parentef0e67039258b7db11838496c61dbdec0be97f60 (diff)
Increase the linebuf length to fit a full message including tags.
Diffstat (limited to 'src')
-rw-r--r--src/common/hexchat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/hexchat.h b/src/common/hexchat.h
index 5c9949a2..43a5f43a 100644
--- a/src/common/hexchat.h
+++ b/src/common/hexchat.h
@@ -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;