about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2021-05-23 17:26:18 +0000
committerJune McEnroe <june@causal.agency>2021-05-25 14:33:08 -0400
commitf9a36441e0527fab625e41233b0a3f7be3099b5a (patch)
treeb31744a4c17fc07d9ce63525665ff77d80be6993
parentDon't require 4 parameters to ERR_USERONCHANNEL (diff)
downloadcatgirl-f9a36441e0527fab625e41233b0a3f7be3099b5a.tar.gz
catgirl-f9a36441e0527fab625e41233b0a3f7be3099b5a.zip
Use color enum instead of hardcoded value
Diffstat (limited to '')
-rw-r--r--handle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/handle.c b/handle.c
index d6eeaab..09b28d5 100644
--- a/handle.c
+++ b/handle.c
@@ -676,12 +676,12 @@ static void handleTopic(struct Message *msg) {
 	catf(&cat, "%ls", new);
 	swap(&new[pre], &nul);
 	swap(osuf, &nul);
-	catf(&cat, "\399,%02d%ls", Brown, &old[pre]);
+	catf(&cat, "\3%02d,%02d%ls", Default, Brown, &old[pre]);
 	swap(osuf, &nul);
 	swap(nsuf, &nul);
-	catf(&cat, "\399,%02d%ls", Green, &new[pre]);
+	catf(&cat, "\3%02d,%02d%ls", Default, Green, &new[pre]);
 	swap(nsuf, &nul);
-	catf(&cat, "\399,99%ls", nsuf);
+	catf(&cat, "\3%02d,%02d%ls", Default, Default, nsuf);
 
 plain:
 	topicComplete(id, msg->params[1]);