summaryrefslogtreecommitdiff
path: root/src/sessionManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sessionManager.cpp')
-rw-r--r--src/sessionManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sessionManager.cpp b/src/sessionManager.cpp
index f019cff..adf3834 100644
--- a/src/sessionManager.cpp
+++ b/src/sessionManager.cpp
@@ -75,8 +75,8 @@ void CSessionManager::kick(CSession *session, const bool &kill, const std::strin
}
void CSessionManager::kick(std::pair<std::jthread, std::shared_ptr<CSession>> *session, const bool &kill, const std::string &reason) {
- if (!reason.empty())
- session->second->write(reason);
+ if (!reason.empty())
+ session->second->write(reason);
auto it = std::ranges::find_if(m_vSessions, [session](const auto &s) { return s.second.get() == session->second.get(); });