Added working INVITE command
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: iherman- <iherman-@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/05/06 17:19:12 by iherman- #+# #+# */
|
||||
/* Updated: 2026/05/23 18:03:11 by iherman- ### ########.fr */
|
||||
/* Updated: 2026/05/23 21:31:06 by iherman- ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -119,6 +119,7 @@ Server::Server(int port, const std::string& password) :
|
||||
commands_["QUIT"] = &Server::quit_cmd;
|
||||
commands_["PRIVMSG"] = &Server::privmsg_cmd;
|
||||
commands_["MODE"] = & Server::mode_cmd;
|
||||
commands_["INVITE"] = &Server::invite_cmd;
|
||||
|
||||
std::cout << "Server port: " << port_
|
||||
<< "\nServer Password: " << password_
|
||||
|
||||
Reference in New Issue
Block a user