From cdc21500174966ecf2ca1eedb73eb5aa4d2f344c Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Fri, 8 Aug 2025 22:15:43 +0100 Subject: Disconnect zombie clients after a while (if they haven't authenticated after AUTHTIMEOUT seconds). --- functions.c | 1 + 1 file changed, 1 insertion(+) (limited to 'functions.c') diff --git a/functions.c b/functions.c index c3e9c94..6eddc35 100644 --- a/functions.c +++ b/functions.c @@ -663,6 +663,7 @@ int disconnectclient(int fd, struct client *clients, struct ircdstate *ircdstate clients[i].pendingcap = 0; clients[i].clientcode[0] = '\0'; clients[i].remoteip[0] = '\0'; + clients[i].connecttime = 0; if (settings->clienttls) { // Finish up with OpenSSL if using client TLS SSL_free(clients[i].ssl); -- cgit v1.2.3