diff options
Diffstat (limited to 'src/sessionManager.hpp')
| -rw-r--r-- | src/sessionManager.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sessionManager.hpp b/src/sessionManager.hpp index 4be5ce8..0f95dc9 100644 --- a/src/sessionManager.hpp +++ b/src/sessionManager.hpp @@ -14,7 +14,7 @@ class CSessionManager { std::pair<std::jthread, std::shared_ptr<CSession>> *newSession(); void run(); - void broadcast(const std::string &msg, eFormatType type = NONE) const; + void broadcast(eFormatType type, const std::string &msg) const; void kick(const CSession *session) const; void addSession(const CSession &session); void removeSession(std::pair<std::jthread, std::shared_ptr<CSession>> *session); |
