summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-24 16:58:28 -0400
committerJune McEnroe <june@causal.agency>2021-06-25 11:50:14 -0400
commitfece6e6eb620068d352ceb0433c3d74d8c22f35b (patch)
tree1a325d74331aa6a55611cdf900a5b3376c2f556c /chat.h
parentEncourage packagers to patch in text macros (diff)
downloadcatgirl-fece6e6eb620068d352ceb0433c3d74d8c22f35b.tar.gz
catgirl-fece6e6eb620068d352ceb0433c3d74d8c22f35b.zip
Keep log directory open, use mkdirat(2) and openat(2)
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat.h b/chat.h
index 74c4abf..a4c7670 100644
--- a/chat.h
+++ b/chat.h
@@ -394,7 +394,7 @@ struct Filter filterAdd(enum Heat heat, const char *pattern);
 bool filterRemove(struct Filter filter);
 enum Heat filterCheck(enum Heat heat, uint id, const struct Message *msg);
 
-extern bool logEnable;
+void logOpen(void);
 void logFormat(uint id, const time_t *time, const char *format, ...)
 	__attribute__((format(printf, 3, 4)));
 void logClose(void);