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]);
libretls/commit/man/Makefile.am?h=3.5.0&id=848415c396a2d1742d33fa565e7dff4e76fc178d&follow=1'>Import LibreSSL 3.3.3June McEnroe 2021-04-18build: Remove added x509_verify.3 links 3.3.2June McEnroe 2021-04-18tls: Use EC_KEY_set_ex_dataJune McEnroe 2021-04-18Import LibreSSL 3.3.2June McEnroe 2021-03-05Bump version to 3.3.1p1 3.3.1p1June McEnroe 2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe Some compat sources (getentropy_linux.c for example) require OpenSSL. Reported by Robert Scheck. 2020-12-15Import LibreSSL 3.3.1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe