fixed maldavid issues

This commit is contained in:
2024-02-05 15:56:43 +01:00
parent f04bbb8045
commit f01e816643

View File

@@ -1,14 +1,14 @@
/* ************************************************************************** */
/******************************************************************************/
/* */
/* ::: :::::::: */
/* message.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* By: vvaas <vvaas@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/21 11:38:34 by maldavid #+# #+# */
/* Updated: 2024/01/25 23:34:47 by maldavid ### ########.fr */
/* Updated: 2024/02/05 15:53:33 by vvaas ### ########.fr */
/* */
/* ************************************************************************** */
/******************************************************************************/
#include <message.hpp>
#include <client.hpp>
@@ -70,6 +70,8 @@ namespace irc
_reason.push_back(' ');
}
}
if (!_reason.empty())
_reason.erase(_reason.end() - 1);
}
Message::~Message() {}