now broadcast send message to every member of channel, excluding the author of message
This commit is contained in:
@@ -49,7 +49,7 @@ class Channel
|
||||
void removeOperator(int fd);
|
||||
bool hasOperator(int fd) const;
|
||||
|
||||
void broadcast();
|
||||
void broadcast(const std::string &msg, std::map<int, User> &clients, int excludedFd);
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user