diff options
author | Luke Bratch <luke@bratch.co.uk> | 2025-08-08 22:38:51 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2025-08-08 22:38:51 +0100 |
commit | 0de8ed662321f25ab78cef094774593e1ce27677 (patch) | |
tree | 561aef9a91d0bc4d0e6a92598623ca3fe72d9616 | |
parent | cdc21500174966ecf2ca1eedb73eb5aa4d2f344c (diff) |
Notify STDOUT if a STDIN wasn't processed and was sent to the server instead.
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | blabouncer.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -66,4 +66,4 @@ NickServ HELP with SA receiving full message in one go? e.g. oper 05/01/2025 10: Allow specifying time zone for timestamps in config. -Include error messages in response to failed STDIN in STDOUT/STDERR. +List all missing configuration options if any are missing at startup. diff --git a/blabouncer.c b/blabouncer.c index 64b6f36..1c61336 100644 --- a/blabouncer.c +++ b/blabouncer.c @@ -806,6 +806,7 @@ void dochat(int *serversockfd, int *clientsockfd, struct settings *settings) { } debugprint(DEBUG_FULL, "dochat(): stdin: '%s' not processed as a command, sending to server.\n", outgoingmsg); + printf("'%s' not processed as a command, sending to server.\n", outgoingmsg); // sourcefd = 0 as this is a trusted message sendtoserver(server_ssl, outgoingmsg, strlen(outgoingmsg), 0, clients, settings); continue; |