From 26eb6212fd1b700300d8fcdc7a44ccf30cc6730e Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Thu, 25 Jan 2024 23:35:38 +0100 Subject: [PATCH] etienne a pas les pizzas --- srcs/message.cpp | 4 ++-- srcs/server_functions.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/srcs/message.cpp b/srcs/message.cpp index d080c14..9fea833 100644 --- a/srcs/message.cpp +++ b/srcs/message.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/21 11:38:34 by maldavid #+# #+# */ -/* Updated: 2024/01/25 20:30:51 by maldavid ### ########.fr */ +/* Updated: 2024/01/25 23:34:47 by maldavid ### ########.fr */ /* */ /* ************************************************************************** */ @@ -65,7 +65,7 @@ namespace irc else { if((*it)[0] == ':') - continue; + it->erase(it->begin()); _reason.append(*it); _reason.push_back(' '); } diff --git a/srcs/server_functions.cpp b/srcs/server_functions.cpp index 9176fd9..267c167 100644 --- a/srcs/server_functions.cpp +++ b/srcs/server_functions.cpp @@ -6,7 +6,7 @@ /* By: vvaas +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/22 17:31:06 by maldavid #+# #+# */ -/* Updated: 2024/01/25 23:01:42 by maldavid ### ########.fr */ +/* Updated: 2024/01/25 23:27:00 by maldavid ### ########.fr */ /* */ /******************************************************************************/ @@ -210,7 +210,7 @@ namespace irc break; } } - return ; + return; } for(channel_it it = _channels.begin(); it != _channels.end(); ++it) {