summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-04-27 21:06:16 -0400
committerJune McEnroe <june@causal.agency>2021-04-27 21:06:16 -0400
commit94f79e889fd70026efb742cdf6d5c2099184a918 (patch)
tree01e18fc9a5011e2fb4117f548e2210eff35fb34c
parentSet id color from completion in /msg (diff)
downloadcatgirl-94f79e889fd70026efb742cdf6d5c2099184a918.tar.gz
catgirl-94f79e889fd70026efb742cdf6d5c2099184a918.zip
Reset formatting after realnames
Diffstat (limited to '')
-rw-r--r--handle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/handle.c b/handle.c
index 1a4face..4614864 100644
--- a/handle.c
+++ b/handle.c
@@ -351,7 +351,7 @@ static void handleJoin(struct Message *msg) {
 		hash(msg->user), msg->nick,
 		(msg->params[2] ? "(" : ""),
 		(msg->params[2] ?: ""),
-		(msg->params[2] ? ") " : ""),
+		(msg->params[2] ? "\17) " : ""),
 		hash(msg->params[0]), msg->params[0]
 	);
 	logFormat(id, tagTime(msg), "%s arrives in %s", msg->nick, msg->params[0]);
@@ -1016,7 +1016,7 @@ static void handleReplyWhoisUser(struct Message *msg) {
 	completeTouch(Network, msg->params[1], hash(msg->params[2]));
 	uiFormat(
 		Network, Warm, tagTime(msg),
-		"\3%02d%s\3\tis %s!%s@%s (%s)",
+		"\3%02d%s\3\tis %s!%s@%s (%s\17)",
 		hash(msg->params[2]), msg->params[1],
 		msg->params[1], msg->params[2], msg->params[3], msg->params[5]
 	);