about summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2025-10-28 20:13:48 -0400
committerJune McEnroe <june@causal.agency>2025-10-28 20:13:48 -0400
commiteb82baab2571dc46e70b0c0d9ec6069a506bedd5 (patch)
treea6382f60d75f17c2af37be52e54e1d1de67c9e95 /chat.c
parentAdd a testimonial (diff)
downloadcatgirl-eb82baab2571dc46e70b0c0d9ec6069a506bedd5.tar.gz
catgirl-eb82baab2571dc46e70b0c0d9ec6069a506bedd5.zip
Add /motd command
You've gotta be able to see the fun colour charts again.
Diffstat (limited to '')
-rw-r--r--chat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/chat.c b/chat.c
index bc23c3f..b7743e8 100644
--- a/chat.c
+++ b/chat.c
@@ -399,6 +399,7 @@ int main(int argc, char *argv[]) {
 	ircFormat("CAP LS\r\n");
 	ircFormat("NICK %s\r\n", self.nicks[0]);
 	ircFormat("USER %s 0 * :%s\r\n", user, real);
+	replies[ReplyMOTD]++;
 
 	// Avoid disabling VINTR until main loop.
 	inputInit();