summaryrefslogtreecommitdiff
path: root/logging.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-10-02 18:58:41 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-10-02 18:58:41 +0100
commitbe3913f22cc03a6d804d720fb0d3efcc337c4150 (patch)
tree834bd809637a0c0e9246551357792e94dd9338fa /logging.c
parentbaa042fac89b9960de59b8d9a24c6791365ec17d (diff)
"LOG_MODE" should be "type == LOG_MODE" in logging.c.
Diffstat (limited to 'logging.c')
-rw-r--r--logging.c2
1 files changed, 1 insertions, 1 deletions
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)) {