Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
raise the max length of a server password to 1024
Browse files Browse the repository at this point in the history
- alleviate #1296
  • Loading branch information
ashpool37 authored and TingPing committed May 10, 2022
1 parent 2638c88 commit 778047b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/hexchat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 778047b

Please sign in to comment.