Merge pull request #747 from Jman012/master

Groupchat crashing bug fixed.
This commit is contained in:
irungentoo 2014-02-19 12:34:21 -05:00
commit fb757bcd49

View File

@ -787,6 +787,9 @@ static void del_dead_peers(Group_Chat *chat)
delpeer(chat, i);
}
if (chat->group == NULL || i >= chat->numpeers)
break;
if (chat->group[i].deleted) {
if (is_timeout(chat->group[i].deleted_time, DEL_PEER_DELAY))
delpeer(chat, i);