kaou kakou dans l'o

This commit is contained in:
2024-01-30 21:34:29 +01:00
parent 9663cf6398
commit 1801c6b7f5
4 changed files with 21 additions and 41 deletions

View File

@@ -6,7 +6,7 @@
/* By: vvaas <vvaas@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/21 09:31:17 by maldavid #+# #+# */
/* Updated: 2024/01/30 21:06:26 by maldavid ### ########.fr */
/* Updated: 2024/01/30 21:22:56 by vvaas ### ########.fr */
/* */
/******************************************************************************/
@@ -92,7 +92,7 @@ namespace irc
close((*it)->getFD());
for(channel_it cit = _channels.begin(); cit != _channels.end();)
{
cit->removeClient(*it, "");
cit->removeClient(*it, "", true);
if(cit->getNumberOfClients() == 0)
{
logs::report(log_message, "channel '%s' has been destroyed", cit->getName().c_str());