Improving commands and added quit
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/05/06 17:18:11 by iherman- #+# #+# */
|
||||
/* Updated: 2026/05/15 22:16:07 by aortigos ### ########.fr */
|
||||
/* Updated: 2026/05/16 11:45:11 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
# include <cctype>
|
||||
# include <sstream>
|
||||
|
||||
# include <unistd.h>
|
||||
|
||||
# include "../User/User.hpp"
|
||||
# include "../Channel/Channel.hpp"
|
||||
|
||||
@@ -64,6 +66,7 @@ class Server
|
||||
void user_cmd(User &client, std::istringstream &ss);
|
||||
void join_cmd(User &client, std::istringstream &ss);
|
||||
void privmsg_cmd(User &client, std::istringstream &ss);
|
||||
void quit_cmd(User &client, std::istringstream &ss);
|
||||
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user