commands whois, whowas created and fixed, update ping, nick, commands.cpp, update Server and user

This commit is contained in:
Samy Ben Tayeb 2025-06-17 18:04:21 +02:00
parent 597aed08d8
commit 6ffc1e5534
16 changed files with 250 additions and 34 deletions

View file

@ -6,7 +6,7 @@
/* By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/06/08 19:16:10 by sben-tay #+# #+# */
/* Updated: 2025/06/12 17:55:06 by sben-tay ### ########.fr */
/* Updated: 2025/06/17 15:41:25 by sben-tay ### ########.fr */
/* */
/* ************************************************************************** */
@ -32,5 +32,7 @@ void cmd::userCmd::execute() {
DEBUG_MSG("Setting username to " << _args[1]);
_sender->setUsername(_args[1]);
_sender->setHasUser(true);
_sender->setRealname(_args[4]);
_sender->checkRegistration();
}