about summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-08 03:15:17 -0500
committerJune McEnroe <june@causal.agency>2020-02-08 03:15:17 -0500
commitb6bf6d62b0bb6d203ce41e4b375c415ca8fde719 (patch)
tree8ef0a65fc49fce6d40ce8e1aff552c25a88f20b5 /chat.h
parentAdd /debug (diff)
downloadcatgirl-b6bf6d62b0bb6d203ce41e4b375c415ca8fde719.tar.gz
catgirl-b6bf6d62b0bb6d203ce41e4b375c415ca8fde719.zip
Only show expected topic/names replies
Diffstat (limited to '')
-rw-r--r--chat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index 9daa38c..34e1812 100644
--- a/chat.h
+++ b/chat.h
@@ -114,6 +114,11 @@ void ircSend(const char *ptr, size_t len);
 void ircFormat(const char *format, ...)
 	__attribute__((format(printf, 1, 2)));
 
+extern struct Replies {
+	size_t topic;
+	size_t names;
+} replies;
+
 void handle(struct Message msg);
 void command(size_t id, char *input);
 const char *commandIsPrivmsg(size_t id, const char *input);