c est metaphysique

This commit is contained in:
Kbz-8
2024-01-30 20:17:08 +01:00
parent 6a4f2adb1f
commit 79b3a8ed26
4 changed files with 32 additions and 27 deletions

View File

@@ -6,7 +6,7 @@
/* By: vvaas <vvaas@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/22 17:31:06 by maldavid #+# #+# */
/* Updated: 2024/01/30 18:50:47 by maldavid ### ########.fr */
/* Updated: 2024/01/30 20:13:48 by maldavid ### ########.fr */
/* */
/******************************************************************************/
@@ -119,9 +119,8 @@ namespace irc
void Server::handleQuit(unstd::SharedPtr<class Client> client, const Message& msg)
{
(void)msg;
for(channel_it it = _channels.begin(); it != _channels.end(); ++it)
it->removeClient(client);
it->removeClient(client, msg.getReason());
client->printUserHeader();
std::cout << "quit" << std::endl;
}