aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-01-24 17:42:21 +0000
committerubq323 <ubq323@ubq323.website>2023-01-24 17:42:21 +0000
commitb34e389a1c04ceac25352b0d265972449a3168a2 (patch)
treeb77960a730195175388529de6686eeef3d3115fe
parentc3d79d07b96c3e2bee7bbdfbc7ec3f6e7af59e17 (diff)
increase maximum password length
-rw-r--r--irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc.c b/irc.c
index 548ee33..17601f4 100644
--- a/irc.c
+++ b/irc.c
@@ -63,7 +63,7 @@ irc_handshake()
E(irc_sendall("JOIN #",6));
E(irc_sendall(g_chanlist[i],strlen(g_chanlist[i])));
if (g_chanpwlist[i] != NULL) {
- if (strlen(g_chanpwlist[i]) > 32) {
+ if (strlen(g_chanpwlist[i]) > 64) {
fprintf(stderr,"channel password too long for #(%s)\n",g_chanlist[i]);
return -1;
}