From bc23856add348060b600fd0f9cbccfd79b744af5 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 20 Mar 2025 21:06:46 +0800 Subject: perf: directly kick instead of calling function in the session(killing it's self?) --- src/session.hpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/session.hpp') diff --git a/src/session.hpp b/src/session.hpp index 390cd71..b9c1cc1 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -64,7 +64,6 @@ class CSession { void onRecv(const SRecvData &data); void onSend(const std::string &msg); #endif - void onKick(const std::string &reason = "", const bool &kill = false); friend class CSessionManager; }; -- cgit v1.2.3