Fixed error messages in commands
This commit is contained in:
@@ -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";
|
||||
}
|
||||
Reference in New Issue
Block a user