Doing join command

This commit is contained in:
aortigos
2026-05-15 22:07:05 +02:00
parent f3400b6151
commit b7487c193d
6 changed files with 34 additions and 16 deletions

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/05/06 17:19:12 by iherman- #+# #+# */
/* Updated: 2026/05/15 12:48:10 by aortigos ### ########.fr */
/* Updated: 2026/05/15 22:00:02 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -115,6 +115,7 @@ Server::Server(int port, const std::string& password) :
commands_["PASS"] = &Server::pass_cmd;
commands_["NICK"] = &Server::nick_cmd;
commands_["USER"] = &Server::user_cmd;
commands_["JOIN"] = &Server::join_cmd;
std::cout << "Server port: " << port_
<< "\nServer Password: " << password_