summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAshpool <ashpool@xecut.net>2022-05-10 03:44:35 +0200
committerPatrick <tingping@tingping.se>2022-05-10 12:31:12 -0500
commit778047bc65e529804c3342ee0f3a8d5d7550fde5 (patch)
tree0446c7fb80d7d8ef0b955b79182feee090b00fb9 /src
parent2638c884797b82054116166523ed35c0e303aaa7 (diff)
raise the max length of a server password to 1024
- alleviate #1296
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 43a5f43a..470dd4ad 100644
--- a/src/common/hexchat.h
+++ b/src/common/hexchat.h
@@ -501,7 +501,7 @@ typedef struct server
 	int joindelay_tag;				/* waiting before we send JOIN */
 	char hostname[128];				/* real ip number */
 	char servername[128];			/* what the server says is its name */
-	char password[86];
+	char password[1024];
 	char nick[NICKLEN];
 	char linebuf[8704];				/* RFC says 512 chars including \r\n, IRCv3 message tags add 8191, plus the NUL byte */
 	char *last_away_reason;