summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--logging.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/TODO b/TODO
index b5702d8..a74bd7d 100644
--- a/TODO
+++ b/TODO
@@ -4,8 +4,6 @@ Configurable rotation of replay and debug logs.
Add a make install/uninstall/etc., add an "INSTALL" file, include a dependency listing.
-"|| LOG_MODE" should be "type == LOG_MODE" in logging.c.
-
macOS compiler may need limits.h included in structures.h.
replaymode = "lastspoke" causes huge amounts of spam from extractnickfromprefix() and friends in full debug mode.
diff --git a/logging.c b/logging.c
index 2079822..ed4cfcf 100644
--- a/logging.c
+++ b/logging.c
@@ -374,7 +374,7 @@ int logline(char *str, struct ircdstate *ircdstate, char *basedir, int type) {
}
}
} else if (type == LOG_JOINPART || type == LOG_TOPIC || type == LOG_NETWORK ||
- type == LOG_QUIT || type == LOG_NICK || LOG_MODE) {
+ type == LOG_QUIT || type == LOG_NICK || type == LOG_MODE) {
// Prepend the time string
char line2[MAXCHAR];
if (!snprintf(line2, MAXCHAR, "%s %s", timestr, line)) {