xC/xP: improve rendering of highlighting actions

This commit is contained in:
Přemysl Eric Janouch 2022-09-20 15:29:01 +02:00
parent c0e1cd57b2
commit 7806d4bd4e
Signed by: p
GPG Key ID: A0420B94F92B9493

4
xC.c
View File

@ -7946,8 +7946,8 @@ irc_handle_privmsg_text (struct server *s,
log_outcoming_privmsg (s, buffer, prefixes, nickname, text->str); log_outcoming_privmsg (s, buffer, prefixes, nickname, text->str);
} }
else if (is_action) else if (is_action)
log_server (s, buffer, BUFFER_LINE_HIGHLIGHT, 0, log_server (s, buffer, BUFFER_LINE_HIGHLIGHT, BUFFER_LINE_ACTION,
" #a*#r #n #m", ATTR_HIGHLIGHT, msg->prefix, text->str); "#a#S#r #m", ATTR_HIGHLIGHT, nickname, text->str);
else else
log_server (s, buffer, BUFFER_LINE_HIGHLIGHT, 0, log_server (s, buffer, BUFFER_LINE_HIGHLIGHT, 0,
"#a<#S#S>#r #m", ATTR_HIGHLIGHT, prefixes, nickname, text->str); "#a<#S#S>#r #m", ATTR_HIGHLIGHT, prefixes, nickname, text->str);