summary refs log tree commit diff stats
path: root/src/common/userlist.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-22 13:49:28 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 13:49:28 +0200
commitbf27d4305288872507e1c6283df91783785c1b1e (patch)
treee114c37041661c90084d38a60a0a4ecc0be2fe6e /src/common/userlist.c
parent87e903cd739ae68aaadd086ebb2b831680e882cb (diff)
Variable cleanup for gui_*
Diffstat (limited to 'src/common/userlist.c')
-rw-r--r--src/common/userlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/userlist.c b/src/common/userlist.c
index a18485b1..2dedb997 100644
--- a/src/common/userlist.c
+++ b/src/common/userlist.c
@@ -61,7 +61,7 @@ nick_cmp_alpha (struct User *user1, struct User *user2, server *serv)
 static int
 nick_cmp (struct User *user1, struct User *user2, server *serv)
 {
-	switch (prefs.userlist_sort)
+	switch (prefs.hex_gui_ulist_sort)
 	{
 	case 0:
 		return nick_cmp_az_ops (serv, user1, user2);
@@ -131,7 +131,7 @@ userlist_add_hostname (struct session *sess, char *nick, char *hostname,
 
 		if (away != 0xff)
 		{
-			if (prefs.showhostname_in_userlist || user->away != away)
+			if (prefs.hex_gui_ulist_show_hosts || user->away != away)
 			{
 				user->away = away;
 				fe_userlist_rehash (sess, user);