summaryrefslogtreecommitdiff
path: root/src/sessionManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sessionManager.hpp')
-rw-r--r--src/sessionManager.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sessionManager.hpp b/src/sessionManager.hpp
index 4ca3311..9739918 100644
--- a/src/sessionManager.hpp
+++ b/src/sessionManager.hpp
@@ -16,8 +16,8 @@ class CSessionManager {
void run();
void broadcast(const std::string &msg) const;
- void kick(CSession *session, const bool &kill = false, const std::string &reason = "");
- void kick(std::pair<std::jthread, std::shared_ptr<CSession>> *session, const bool &kill = false, const std::string &reason = "");
+ void kick(CSession *session, const bool kill = false, const std::string &reason = "");
+ void kick(std::pair<std::jthread, std::shared_ptr<CSession>> *session, const bool kill = false, const std::string &reason = "");
void addSession(const CSession &session);
bool nameExists(const std::string &name);