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) {