diff options
author | June McEnroe <june@causal.agency> | 2020-02-22 00:51:04 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-22 00:51:04 -0500 |
commit | 08456da07fadec93973eb28d059d9382149f3d75 (patch) | |
tree | 0cf728c2ec96f1931983981aecb920e62f90c6e0 | |
parent | Use (almost) the full range of IRC colors for nicks (diff) | |
download | litterbox-08456da07fadec93973eb28d059d9382149f3d75.tar.gz litterbox-08456da07fadec93973eb28d059d9382149f3d75.zip |
Include <>/-/* around nicks in coloring
Diffstat (limited to '')
-rw-r--r-- | litterbox.c | 6 |
1 files 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: |