summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blabouncer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/blabouncer.c b/blabouncer.c
index 48bdbd1..60ccf91 100644
--- a/blabouncer.c
+++ b/blabouncer.c
@@ -1982,6 +1982,8 @@ int processircmessage(SSL *server_ssl, char *str, int source, struct client *cli
// QUIT received, send QUIT message to server and exit cleanly
} else if (strncasecmp(tokens[1], "QUIT", strlen("QUIT")) == 0) {
debugprint("Client QUIT found and it is: %s with length %zd!\n", tokens[1], strlen(tokens[1]));
+ snprintf(outgoingmsg, MAXDATASIZE, "NOTICE %s :Exiting on BLABOUNCER QUIT command from client with fd '%d'.", ircdstrings->ircnick, sourcefd);
+ sendtoallclients(clients, outgoingmsg, EXCEPT_NONE, settings);
// Combine "QUIT :" with any optional quit message the user provided
char quitmsg[MAXDATASIZE];
if (counter > 2) {