summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2024-07-17 23:08:01 +0100
committerLuke Bratch <luke@bratch.co.uk>2024-07-17 23:08:01 +0100
commit59addf47eca6a0be54e3b07c4ed2b156a8431376 (patch)
tree93524640f897b9430c743ee4bff82dc0bddec60d
parenta0706572740221e06874d243bed87e49714aad79 (diff)
Print VERSION in debug.txt at startup.
-rw-r--r--TODO2
-rw-r--r--blabouncer.c2
2 files changed, 1 insertions, 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;