From 72c0fd611175ca22805ba53af6ce4c370e7431c9 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 25 May 2025 12:13:45 +0200 Subject: [PATCH] fix(server): fix the print users method --- sources/core/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }