1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 22:53:28 +01:00

don't need that

This commit is contained in:
Jfreegman 2013-11-23 21:30:31 -05:00
parent f84ece13de
commit fb246f2527

View File

@ -119,7 +119,6 @@ static void groupchat_onGroupNamelistChange(ToxWindow *self, Tox *m, int groupnu
if (self->num != groupnum) if (self->num != groupnum)
return; return;
memset(groupchats[groupnum].peer_names, 0, sizeof(groupchats[groupnum].peer_names);
int num_peers = tox_group_number_peers(m, groupnum); int num_peers = tox_group_number_peers(m, groupnum);
groupchats[groupnum].num_peers = MIN(MAX_GROUP_PEERS, num_peers); groupchats[groupnum].num_peers = MIN(MAX_GROUP_PEERS, num_peers);
tox_group_copy_names(m, groupnum, groupchats[groupnum].peer_names, num_peers); tox_group_copy_names(m, groupnum, groupchats[groupnum].peer_names, num_peers);