1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

Revert "irc: do not use away color for nicks in nicklist if option irc.look.color_nicks_in_nicklist is on"

This reverts commit 0c86e742c5.
This commit is contained in:
Sébastien Helleu
2017-08-19 12:47:01 +02:00
parent 0c86e742c5
commit 2ab40e02e6
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -38,7 +38,6 @@ Bug fixes::
* api: change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripts)
* api: change type of argument fd in hook_fd() callback from string to integer (in scripts)
* buflist: fix crash in auto-scroll of bar when the buflist item is not the first item in the bar
* irc: do not use away color for nicks in nicklist if option irc.look.color_nicks_in_nicklist is on
* relay: fix send of "PART" command in backlog (irc protocol)
* relay: fix parsing of CAP command without arguments in irc protocol, send ACK only if all capabilities received are OK and NAK otherwise (issue #1040)
+3 -3
View File
@@ -317,6 +317,9 @@ irc_nick_get_color_for_nicklist (struct t_irc_server *server,
static char *nick_color_self = "weechat.color.chat_nick_self";
static char *nick_color_away = "weechat.color.nicklist_away";
if (nick->away)
return nick_color_away;
if (weechat_config_boolean(irc_config_look_color_nicks_in_nicklist))
{
if (irc_server_strcasecmp (server, nick->name, server->nick) == 0)
@@ -325,9 +328,6 @@ irc_nick_get_color_for_nicklist (struct t_irc_server *server,
return irc_nick_find_color_name (nick->name);
}
if (nick->away)
return nick_color_away;
return nick_color_bar_fg;
}