From 08456da07fadec93973eb28d059d9382149f3d75 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 22 Feb 2020 00:51:04 -0500 Subject: Include <>/-/* around nicks in coloring --- litterbox.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litterbox.c b/litterbox.c index 2180350..0213b31 100644 --- a/litterbox.c +++ b/litterbox.c @@ -272,11 +272,11 @@ static void querySearch(struct Message *msg) { format("NOTICE %s :(%s) [%s] ", msg->nick, context, time); switch (type) { break; case Privmsg: - format("<\3%02d%s\3> %s\r\n", color(user), nick, message); + format("\3%d<%s>\3 %s\r\n", color(user), nick, message); break; case Notice: - format("-\3%02d%s\3- %s\r\n", color(user), nick, message); + format("\3%d-%s-\3 %s\r\n", color(user), nick, message); break; case Action: - format("* \3%02d%s\3 %s\r\n", color(user), nick, message); + format("\3%d* %s\3 %s\r\n", color(user), nick, message); break; case Join: format("\3%02d%s\3 joined\r\n", color(user), nick); break; case Part: -- cgit 1.4.1