From a2a6ce99c06cb5452d10fd5814a1c9681e935be6 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 15 Dec 2018 01:09:56 -0500 Subject: Underline own nick --- handle.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'handle.c') diff --git a/handle.c b/handle.c index dd42452..c1f316f 100644 --- a/handle.c +++ b/handle.c @@ -456,8 +456,9 @@ static void handlePrivmsg(char *prefix, char *params) { bool ping = !me && isPing(mesg); uiFmt( tag, (hot ? UIHot : UIWarm), - "%c\3%d%c%s%c\17 %s", - ping["\17\26"], formatColor(user), me["<("], nick, me[">)"], mesg + "%c%c\3%d<%s>%c %s", + (me ? IRCUnderline : IRCColor), (ping ? IRCReverse : IRCColor), + formatColor(user), nick, IRCReset, mesg ); logFmt(tag, NULL, "<%s> %s", nick, mesg); } -- cgit 1.4.1-2-gfad0