mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-06 11:12:34 +01:00
Added support for marking nicks that are away in different colour when away_size_max = 0, but tracking enabled.
This commit is contained in:
parent
66853d9715
commit
2f1f2c6a85
@ -320,7 +320,7 @@ fe_userlist_rehash (session *sess, struct User *user)
|
||||
if (!iter)
|
||||
return;
|
||||
|
||||
if (prefs.hex_away_track && prefs.hex_away_size_max && user->away)
|
||||
if (prefs.hex_away_track && user->away)
|
||||
nick_color = COL_AWAY;
|
||||
else if (prefs.hex_gui_ulist_color)
|
||||
nick_color = text_color_of(user->nick);
|
||||
@ -340,7 +340,7 @@ fe_userlist_insert (session *sess, struct User *newuser, int row, int sel)
|
||||
char *nick;
|
||||
int nick_color = 0;
|
||||
|
||||
if (prefs.hex_away_track && prefs.hex_away_size_max && newuser->away)
|
||||
if (prefs.hex_away_track && newuser->away)
|
||||
nick_color = COL_AWAY;
|
||||
else if (prefs.hex_gui_ulist_color)
|
||||
nick_color = text_color_of(newuser->nick);
|
||||
|
Loading…
Reference in New Issue
Block a user