summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorKlemens Nanni2021-05-23 17:26:18 +0000
committerC. McEnroe2021-05-25 14:33:08 -0400
commitf9a36441e0527fab625e41233b0a3f7be3099b5a (patch)
treeb31744a4c17fc07d9ce63525665ff77d80be6993 /handle.c
parent7bacf63d9e9e68a7352e656e820d735099a1a342 (diff)
Use color enum instead of hardcoded value
Diffstat (limited to 'handle.c')
-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]);