From d580a4468a26f6b47b4dfe7c9171e680c788be41 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 13 Mar 2025 16:43:14 +0800 Subject: NFormatter: no more prefix support for socket write NFormatter: remove CHAT prefix --- src/session.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/session.hpp') 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 - bool write(eFormatType type, std::format_string fmt, Args &&...args); + bool write(std::format_string fmt, Args &&...args); void run(); -- cgit v1.2.3