summaryrefslogtreecommitdiff
path: root/src/session.hpp
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-03-13 16:43:14 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-03-20 23:45:00 +0800
commitd580a4468a26f6b47b4dfe7c9171e680c788be41 (patch)
tree6f1b4a5c86f6d0065c4c066cd6d8ddc83d147d4d /src/session.hpp
parent4f2c686a36dc5a091a47c5d8eac9193608242ad3 (diff)
NFormatter: no more prefix support for socket write
NFormatter: remove CHAT prefix
Diffstat (limited to 'src/session.hpp')
-rw-r--r--src/session.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.hpp b/src/session.hpp
index 48e2dad..4f5adb2 100644
--- a/src/session.hpp
+++ b/src/session.hpp
@@ -23,9 +23,9 @@ class CSession {
SRecvData read();
SRecvData read(const std::string &msg);
- bool write(const std::string &msg, eFormatType type);
+ bool write(const std::string &msg);
template <typename... Args>
- bool write(eFormatType type, std::format_string<Args...> fmt, Args &&...args);
+ bool write(std::format_string<Args...> fmt, Args &&...args);
void run();