From fe6ac12dbe4a91cd8652421aaaae18fed23cc6e6 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 9 Aug 2025 11:13:27 +0100 Subject: Improve output of LISTCLIENTS blabouncer command. --- blabouncer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'blabouncer.c') diff --git a/blabouncer.c b/blabouncer.c index b4c88df..f4b084e 100644 --- a/blabouncer.c +++ b/blabouncer.c @@ -805,8 +805,9 @@ void dochat(int *serversockfd, int *clientsockfd, struct settings *settings) { continue; } + // STDIN: List all connected clients if (strncmp(outgoingmsg, "listclients", strlen("listclients")) == 0) { - debugprint(DEBUG_SOME, "dochat(): stdin: There are %d blabouncer client(s) connected:\n", numclients(clients)); + debugprint(DEBUG_SOME, "dochat(): stdin: There are %d blabouncer client(s) connected.\n", numclients(clients)); printf("There are %d blabouncer client(s) connected:\n", numclients(clients)); // Loop through each client in clients struct for connected and authenticated clients... -- cgit v1.2.3