This commit is contained in:
2024-01-30 18:47:43 +01:00
parent b90087188f
commit e67a6141d2
6 changed files with 48 additions and 28 deletions

View File

@@ -6,7 +6,7 @@
/* By: vvaas <vvaas@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/21 10:35:52 by maldavid #+# #+# */
/* Updated: 2024/01/30 01:41:49 by vvaas ### ########.fr */
/* Updated: 2024/01/30 17:48:31 by vvaas ### ########.fr */
/* */
/******************************************************************************/
@@ -139,7 +139,8 @@ namespace irc
void Client::kill(const std::string& reason)
{
sendMsg("yipirc", "KILL", reason);
std::string cmd = "KILL " + getNickName();
sendMsg("yipirc", cmd, reason);
}
Client::~Client() {}