mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 03:03:12 +02:00
irc: use nick color for users outside the channel
This commit is contained in:
@@ -899,7 +899,7 @@ irc_ctcp_recv (struct t_irc_server *server, const char *command,
|
||||
nick),
|
||||
"%s%s%s%s%s%s",
|
||||
weechat_prefix ("action"),
|
||||
(ptr_nick) ? ptr_nick->color : IRC_COLOR_CHAT_NICK,
|
||||
(ptr_nick) ? ptr_nick->color : ((nick) ? irc_nick_find_color (nick) : IRC_COLOR_CHAT_NICK),
|
||||
nick,
|
||||
(pos_args) ? IRC_COLOR_CHAT : "",
|
||||
(pos_args) ? " " : "",
|
||||
|
||||
@@ -897,7 +897,7 @@ irc_nick_as_prefix (struct t_irc_server *server, struct t_irc_nick *nick,
|
||||
weechat_config_string (irc_config_look_nick_prefix) : "",
|
||||
str_prefix_color,
|
||||
prefix,
|
||||
(force_color) ? force_color : ((nick) ? nick->color : IRC_COLOR_CHAT_NICK),
|
||||
(force_color) ? force_color : ((nick) ? nick->color : ((nickname) ? irc_nick_find_color (nickname) : IRC_COLOR_CHAT_NICK)),
|
||||
(nick) ? nick->name : nickname,
|
||||
(weechat_config_string (irc_config_look_nick_suffix)
|
||||
&& weechat_config_string (irc_config_look_nick_suffix)[0]) ?
|
||||
|
||||
Reference in New Issue
Block a user