diff options
-rw-r--r-- | message.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -272,7 +272,7 @@ int processservermessage(SSL *server_ssl, char *str, struct client *clients, int // Get each channel the QUITting user was in, and log the quit from that channel if enabled if (settings->logging) { - char quitnick[MAXNICKLENGTH]; + char quitnick[MAXDATASIZE]; strcpy(quitnick, tokens[0]); extractnickfromprefix(quitnick); for (int i = 0; i < MAXCHANNELS; i++) { @@ -485,7 +485,7 @@ int processservermessage(SSL *server_ssl, char *str, struct client *clients, int // Get each channel the old nick was in, and log the NICK change in that channel if enabled if (settings->logging) { - char oldnick[MAXNICKLENGTH]; + char oldnick[MAXDATASIZE]; strcpy(oldnick, tokens[0]); extractnickfromprefix(oldnick); for (int i = 0; i < MAXCHANNELS; i++) { |