fix fix fix

This commit is contained in:
mochaoui
2024-04-28 15:54:08 +01:00
parent 5338af5e4f
commit e9c1d60f46
4 changed files with 98 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ private:
int opperatorfd;
bool issettop;
bool isinveted;
bool channelconnect;
public:
@@ -62,6 +63,7 @@ public:
void addClientinveted(const std::string& client, int fd);
void addOperator(const std::string& operatorName, int fd);
int getUserFd(const std::string& username) const;
bool isUserInChannel(const std::string& nickname) const;
std::vector<std::string> getClients() const;
std::string getNickname(int fd) const;
bool isOperator(int fd);