Fixes on channel

This commit is contained in:
2026-04-19 11:39:19 +02:00
parent 94028a5215
commit 6ed03cc6a6
3 changed files with 13 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ void Channel::removeMember(int fd)
{
if (this->members[i] == fd)
{
members.erase(members.begin() + 1);
members.erase(members.begin() + i);
return ;
}
}