sefault in part.cpp patched, parsing modified, problem in management POLOUT fixed, privmsg update, Server update, User update

This commit is contained in:
Samy BEN TAYEB 2025-06-19 02:30:03 +02:00
parent 8096edb63d
commit 647241313f
8 changed files with 74 additions and 32 deletions

View file

@ -6,7 +6,7 @@
/* By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/20 22:18:17 by rparodi #+# #+# */
/* Updated: 2025/06/18 12:24:15 by rparodi ### ########.fr */
/* Updated: 2025/06/19 01:15:59 by sben-tay ### ########.fr */
/* */
/* ************************************************************************** */
@ -47,7 +47,7 @@ class Channel {
void removeOperator(User *user);
// utility functions
void sendAllClientInAChannel(const std::string toSend, User *sender);
void sendAllClientInAChannel(const std::string &toSend, User *exclude = NULL);
private:
std::string _name;

View file

@ -6,7 +6,7 @@
/* By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/20 21:57:49 by rparodi #+# #+# */
/* Updated: 2025/06/18 01:19:32 by sben-tay ### ########.fr */
/* Updated: 2025/06/19 02:22:55 by sben-tay ### ########.fr */
/* */
/* ************************************************************************** */
@ -70,6 +70,7 @@ class User
bool hasDataToSend() const;
std::string getWriteBuffer() const;
void clearWriteBuffer();
void consumeWriteBuffer(size_t len);
std::string getPrefix() const;
};