From de2cafe2cdbb5b271e1f3ee692519637477af61e Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Mon, 29 Jan 2024 19:45:38 +0100 Subject: [PATCH] caca --- srcs/channel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcs/channel.cpp b/srcs/channel.cpp index 1254b47..a01f6e1 100644 --- a/srcs/channel.cpp +++ b/srcs/channel.cpp @@ -6,7 +6,7 @@ /* By: vvaas +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/21 10:36:21 by maldavid #+# #+# */ -/* Updated: 2024/01/29 15:44:32 by maldavid ### ########.fr */ +/* Updated: 2024/01/29 19:43:33 by maldavid ### ########.fr */ /* */ /******************************************************************************/ @@ -198,8 +198,8 @@ namespace irc if(!hasClient(client)) return; if(_topic.empty()) - return client->sendCode(RPL_NOTOPIC, client->getNickName() + " @ " + _name, " no topic is set"); - return client->sendCode(RPL_TOPIC " " + _name, _topic); + return client->sendCode(":yipirc" RPL_NOTOPIC, client->getNickName() + " " + _name, "no topic is set"); + return client->sendCode(":yipirc " RPL_TOPIC, client->getNickName() + " " + _name, _topic); } bool Channel::isOp(unstd::SharedPtr client) const