the last mode done -l and +l the limite channel holding users

This commit is contained in:
mochaoui
2024-04-22 10:57:42 -05:00
parent 099af1ff3f
commit e266a65a0a
4 changed files with 173 additions and 11 deletions

View File

@@ -25,6 +25,7 @@ private:
std::string topic;
std::string key;
std::string pass;
int limite;
std::map<std::string, int> userFdMap; // Mapping of usernames to file descriptors
std::map<std::string, int> invitedUsers;
std::map<std::string, int> operators;
@@ -42,7 +43,11 @@ public:
//checks
void setoperator(int value);
bool getoperator();
int getoperator();
//check
void setlimitchannel(int value);
int getlimitechannel();
//checks
void setbooltopic(bool value);