From f84ab67311cbe66c5e557138ea1c7150c9513fd8 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Sun, 16 Feb 2020 05:22:28 -0500 Subject: Apply colorMentions to actions The first-two-words branch works well for "/me verbs nick". --- handle.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'handle.c') diff --git a/handle.c b/handle.c index c012261..d4f615e 100644 --- a/handle.c +++ b/handle.c @@ -672,10 +672,12 @@ static void handlePrivmsg(struct Message *msg) { hash(msg->user), msg->nick, LightGray, msg->params[1] ); } else if (action) { + const char *mentions = colorMentions(id, msg); uiFormat( id, (mention || query ? Hot : Warm), tagTime(msg), - "%s\35\3%d* %s\17\35\t%s", - (mention ? "\26" : ""), hash(msg->user), msg->nick, msg->params[1] + "%s\35\3%d* %s\17\35\t%s%s", + (mention ? "\26" : ""), hash(msg->user), msg->nick, + mentions, msg->params[1] ); } else { const char *mentions = colorMentions(id, msg); -- cgit 1.4.1-2-gfad0