diff options
-rw-r--r-- | message.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -127,6 +127,11 @@ int processservermessage(SSL *server_ssl, char *str, struct client *clients, int continue; } + // Remove nicks in the channel, we will re-get them when re-JOINing + for (int j = 0; j < MAXCHANNICKS; j++) { + channels[i].nicks[j][0] = '\0'; + } + debugprint(DEBUG_SOME, "Reconnection: Re-joining '%s'.\n", channels[i].name); char joinmsg[MAXDATASIZE]; |