summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-05-11 02:10:42 -0700
committerTingPing <tngpng@gmail.com>2013-05-11 02:10:42 -0700
commit250d9b565cdd039bf9bcd275ca45b0d0ef70f3aa (patch)
tree19f5b0e6e93fcd4e613f484eb974128e361937e5 /src/fe-gtk
parent6e7c0395e1d124e4dabb730edc6b5d2efe748e5b (diff)
parent2f1f2c6a8573e3022fe03a563acdd59b6617de1b (diff)
Merge pull request #582 from Repentinus/patch-1
Support for away tracking regardless of channel size
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/userlistgui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/userlistgui.c b/src/fe-gtk/userlistgui.c
index c2f2a462..530d213f 100644
--- a/src/fe-gtk/userlistgui.c
+++ b/src/fe-gtk/userlistgui.c
@@ -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);