diff options
author | June McEnroe <june@causal.agency> | 2020-02-16 05:22:28 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-16 05:22:28 -0500 |
commit | f84ab67311cbe66c5e557138ea1c7150c9513fd8 (patch) | |
tree | 77758963fa5338a819ae491d081ca4c1bd88a27c /handle.c | |
parent | Set defaults for various types of modes (diff) | |
download | test-f84ab67311cbe66c5e557138ea1c7150c9513fd8.tar.gz test-f84ab67311cbe66c5e557138ea1c7150c9513fd8.zip |
Apply colorMentions to actions
The first-two-words branch works well for "/me verbs nick".
Diffstat (limited to '')
-rw-r--r-- | handle.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); |