diff --git a/sources/core/Server.cpp b/sources/core/Server.cpp index 0691c62..2e365f2 100644 --- a/sources/core/Server.cpp +++ b/sources/core/Server.cpp @@ -143,6 +143,6 @@ void Server::printUsers() const for (std::map::const_iterator it = _users.begin(); it != _users.end(); ++it) { std::cout << "User fd: " << it->first << std::endl; - std::cout << "Nickname: " << it->second->getNickname() << std::endl; + std::cout << "Nickname: " << it->second->getName() << std::endl; } }