diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-10-02 18:58:41 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-10-02 18:58:41 +0100 |
commit | be3913f22cc03a6d804d720fb0d3efcc337c4150 (patch) | |
tree | 834bd809637a0c0e9246551357792e94dd9338fa | |
parent | baa042fac89b9960de59b8d9a24c6791365ec17d (diff) |
"LOG_MODE" should be "type == LOG_MODE" in logging.c.
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | logging.c | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -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. @@ -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)) { |