now broadcast send message to every member of channel, excluding the author of message

This commit is contained in:
aortigos
2026-05-15 23:11:02 +02:00
parent 9a2d7919fb
commit a21bac6e47
8 changed files with 65 additions and 14 deletions

View File

@@ -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);
};