Changeset 5c90890 for root_commands.c
- Timestamp:
- 2018-07-12T08:54:12Z (6 years ago)
- Branches:
- master
- Children:
- c82e4ca
- Parents:
- b9d1fdc
- git-author:
- dequis <dx@…> (03-07-18 06:17:17)
- git-committer:
- dequis <dx@…> (12-07-18 08:54:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
rb9d1fdc r5c90890 773 773 bu->ic->acc->prpl->remove_buddy(bu->ic, bu->handle, NULL); 774 774 nick_del(bu); 775 if (g_ slist_find(irc->users, iu)) {775 if (g_hash_table_contains(irc->nick_user_hash, iu->key)) { 776 776 bee_user_free(irc->b, bu); 777 777 } … … 1033 1033 { 1034 1034 int online = 0, away = 0, offline = 0, ismatch = 0; 1035 G SList *l;1035 GList *l, *users; 1036 1036 GRegex *regex = NULL; 1037 1037 GError *error = NULL; … … 1074 1074 } 1075 1075 1076 for (l = irc->users; l; l = l->next) { 1076 users = g_hash_table_get_values(irc->nick_user_hash); 1077 users = g_list_sort(users, irc_user_cmp); 1078 1079 for (l = users; l; l = l->next) { 1077 1080 irc_user_t *iu = l->data; 1078 1081 bee_user_t *bu = iu->bu; … … 1119 1122 } 1120 1123 } 1124 1125 g_list_free(users); 1121 1126 1122 1127 irc_rootmsg(irc, "%d buddies (%d available, %d away, %d offline)", n_online + n_away + n_offline, n_online,
Note: See TracChangeset
for help on using the changeset viewer.