fix(server): fix the print users method
This commit is contained in:
parent
d715871ea5
commit
72c0fd6111
1 changed files with 1 additions and 1 deletions
|
|
@ -143,6 +143,6 @@ void Server::printUsers() const
|
|||
for (std::map<int, User *>::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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue