fixed ctrl+D bug

This commit is contained in:
Bettercallous
2024-04-29 16:06:48 +01:00
parent 23f12a5e61
commit 9abced38a0
5 changed files with 32 additions and 74 deletions

View File

@@ -38,9 +38,9 @@ class Server {
std::vector<struct pollfd> _fds;
std::vector<Client> _clients;
// THAT'S THA DATA OF TOOOP GGG START FROM THERE .
std::map<int, std::string> nicknames; // Replace unordered_map with map
std::map<int, std::string> usernames; // Replace unordered_map with map
// std::map<std::string, std::vector<std::string> > channels; //here a chanel name and list of client in every chanel
std::map<int, std::string> nicknames;
std::map<int, std::string> usernames;
std::map<std::string, Channel> channels;