summaryrefslogtreecommitdiff
path: root/src/chatServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chatServer.cpp')
-rw-r--r--src/chatServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chatServer.cpp b/src/chatServer.cpp
index 8e9a3ab..8605c75 100644
--- a/src/chatServer.cpp
+++ b/src/chatServer.cpp
@@ -39,7 +39,7 @@ void CChatServer::start() {
initManagers();
// will await while waiting for accept() to return a new client
- m_sessionManagerThread = std::jthread(&CSessionManager::run, g_pSessionManager.get());
+ m_sessionManagerThread = std::jthread(&CSessionManager::run, g_pSessionManager);
m_sessionManagerThread.detach();
while (true) {