mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-17 11:10:18 +00:00
Move userlist sorting to frontend
This Fixes possible crashes when the two usertrees get out of sync and a double free occurs. Also now requires restart to change sort orders. Fixes #1252 Fixes #818 (probably)
This commit is contained in:
@@ -61,5 +61,7 @@ void userlist_update_mode (session *sess, char *name, char mode, char sign);
|
||||
GSList *userlist_flat_list (session *sess);
|
||||
GList *userlist_double_list (session *sess);
|
||||
void userlist_rehash (session *sess);
|
||||
int nick_cmp_az_ops (server *serv, struct User *user1, struct User *user2);
|
||||
int nick_cmp_alpha (struct User *user1, struct User *user2, server *serv);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user