From 59addf47eca6a0be54e3b07c4ed2b156a8431376 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Wed, 17 Jul 2024 23:08:01 +0100 Subject: Print VERSION in debug.txt at startup. --- TODO | 2 -- blabouncer.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/TODO b/TODO index affeb29..a4c807b 100644 --- a/TODO +++ b/TODO @@ -50,6 +50,4 @@ Are WALLOPS logged & replayed? QUIT not logged in all channels a person was in? (e.g. Joey Mon 1 Apr 20:49:14 BST 2024) -Print VERSION in debug.txt. - "/whois" with no nick - "No nickname given" goes to all clients - fixable? diff --git a/blabouncer.c b/blabouncer.c index 917ef74..75ce966 100644 --- a/blabouncer.c +++ b/blabouncer.c @@ -1311,7 +1311,7 @@ int main(int argc, char *argv[]) { // Temporarily enable debugging to file debug = 1; // Print it - debugprint(DEBUG_CRIT, "blabouncer started at %s, debugging is set to %d.\n", timestr, debugold); + debugprint(DEBUG_CRIT, "blabouncer version %s started at %s, debugging is set to %d.\n", VERSION, timestr, debugold); // Set debugging back to whatever it was debug = debugold; -- cgit v1.2.3