Doing join command
This commit is contained in:
@@ -29,14 +29,14 @@ class Channel
|
||||
|
||||
public:
|
||||
Channel();
|
||||
Channel(std::string name);
|
||||
Channel(std::string &name);
|
||||
Channel(const Channel &other);
|
||||
Channel& operator=(const Channel &other);
|
||||
~Channel();
|
||||
|
||||
|
||||
// Getters
|
||||
std::string getName() const { return (this->name); }
|
||||
std::string getName() const;
|
||||
|
||||
|
||||
// Users
|
||||
@@ -49,7 +49,7 @@ class Channel
|
||||
void removeOperator(int fd);
|
||||
bool hasOperator(int fd) const;
|
||||
|
||||
void broadcast(const std::string &msg, const std::map<int, User>& clients_, int excludeFd);
|
||||
void broadcast();
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user