summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-03-13 00:36:07 -0300
committerTingPing <tngpng@gmail.com>2013-03-13 00:36:07 -0300
commit44b381680fb9b35e3c8685fa5438dfba5d5e050d (patch)
treef3f7a55236802fdaf7c71dcd1bf136e543c33807 /src/fe-gtk
parent6bd96564168c66eda4d1b198e62c7bd20549205e (diff)
fix typo
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/userlistgui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/userlistgui.c b/src/fe-gtk/userlistgui.c
index 75281a0c..a2a7e9ae 100644
--- a/src/fe-gtk/userlistgui.c
+++ b/src/fe-gtk/userlistgui.c
@@ -355,7 +355,7 @@ fe_userlist_insert (session *sess, struct User *newuser, int row, int sel)
 	char *nick;
 	int nick_color = NULL;
 
-	if (prefs.hex_away_track && prefs.hex_away_size_max && user->away)
+	if (prefs.hex_away_track && prefs.hex_away_size_max && newuser->away)
 		nick_color = COL_AWAY;
 	else if (prefs.hex_gui_ulist_color)
 		nick_color = text_color_of(newuser->nick);