summary refs log tree commit diff stats
path: root/src/common/userlist.c
diff options
context:
space:
mode:
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);