Fixed error messages in commands

This commit is contained in:
2026-04-17 13:12:22 +02:00
parent bb66fcc097
commit 49fa432411
6 changed files with 69 additions and 33 deletions

View File

@@ -108,7 +108,6 @@ void Server::readClient(int fd)
}
clients[fd].appendBuffer(buf);
std::cout << "fd=" << fd << " dice: " << buf;
std::string &clientBuf = clients[fd].getBuffer();
size_t pos;
@@ -155,6 +154,4 @@ void Server::parseCommand(int fd, std::string line)
cmd_nick(fd, ss);
else if (command == "USER")
cmd_user(fd, ss);
else
std::cout << "Comando desconocido: " << command << "\n";
}