1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +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
View File
@@ -45,6 +45,7 @@ Version 0.3.5 (under dev!)
* core: allow background for nick colors (using ":")
* api: add new function buffer_match_list
* aspell: fix spellers used after switch of window (bug #32811)
* irc: use nick color for users outside the channel
* irc: replace options irc.color.nick_prefix_{op|halfop|voice|user} by a single
option irc.color.nick_prefixes (task #10888)
* irc: update short name of server buffer when server is renamed
+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]) ?