libpurple/conversation.c

changeset 17621
2c27d0e86859
parent 17567
332ee8ac7662
child 17879
3e3f85138f1a
child 18112
cbbf5e1fbeab
equal deleted inserted replaced
17620:19203c64c6d4 17621:2c27d0e86859
1808 users = purple_conv_chat_get_users(chat); 1808 users = purple_conv_chat_get_users(chat);
1809 1809
1810 if (ops != NULL && ops->chat_remove_users != NULL) { 1810 if (ops != NULL && ops->chat_remove_users != NULL) {
1811 for (l = users; l; l = l->next) { 1811 for (l = users; l; l = l->next) {
1812 PurpleConvChatBuddy *cb = l->data; 1812 PurpleConvChatBuddy *cb = l->data;
1813 names = g_list_append(names, cb->name); 1813 names = g_list_prepend(names, cb->name);
1814 } 1814 }
1815 ops->chat_remove_users(conv, names); 1815 ops->chat_remove_users(conv, names);
1816 g_list_free(names); 1816 g_list_free(names);
1817 } 1817 }
1818 1818

mercurial