auth updated, server recev PASS + USER + NICK

This commit is contained in:
Samy BEN TAYEB 2025-06-14 22:44:48 +02:00
parent 479fc3c6c5
commit d52b0cc3c2
3 changed files with 7 additions and 7 deletions

View file

@ -6,7 +6,7 @@
/* By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/06/08 22:10:24 by sben-tay #+# #+# */
/* Updated: 2025/06/12 13:06:50 by sben-tay ### ########.fr */
/* Updated: 2025/06/14 22:26:07 by sben-tay ### ########.fr */
/* */
/* ************************************************************************** */
@ -28,7 +28,7 @@ e_code Cap::checkArgs() {
void cmd::Cap::execute() {
if (this->checkArgs() != _PARSING_OK)
return;
if (_args.size() >= 2 && _args[1] == "LS") {
if (_args.size() >= 2 && _args[1] == "ls") {
std::string reply = "CAP * LS :\r\n";
_sender->appendToWriteBuffer(reply);
DEBUG_MSG("Replied to CAP LS");