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:
@@ -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
|
||||
|
||||
@@ -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