raise the max length of a server password to 1024

- alleviate #1296
This commit is contained in:
Ashpool 2022-05-10 03:44:35 +02:00 committed by Patrick
parent 2638c88479
commit 778047bc65
1 changed files with 1 additions and 1 deletions

View File

@ -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;