1
0
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:
Sebastien Helleu
2011-04-11 15:52:31 +02:00
parent 5ee0d7a456
commit 85c5653713
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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) ? " " : "",
+1 -1
View File
@@ -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]) ?