summaryrefslogtreecommitdiff
path: root/src/sessionManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sessionManager.cpp')
-rw-r--r--src/sessionManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sessionManager.cpp b/src/sessionManager.cpp
index 85263f1..a7490e3 100644
--- a/src/sessionManager.cpp
+++ b/src/sessionManager.cpp
@@ -38,7 +38,7 @@ void CSessionManager::run() {
newSession();
}
-void CSessionManager::broadcast(const std::string &msg, eFormatType type) const {
+void CSessionManager::broadcast(eFormatType type, const std::string &msg) const {
for (const auto &[thread, session] : m_vSessions)
session->write(msg, type);
}