diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-04-03 10:32:18 +0000 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-04-07 16:32:07 +0800 |
| commit | c49a4a170658d7e929272ebecd729f3645f36b17 (patch) | |
| tree | 918e929dfcd7b8420d3cc533d35a3f74590a0395 /src | |
| parent | 8275219e3f743a1bb31151a3c1a7ee0cc9ca1c49 (diff) | |
style: clang-format
Diffstat (limited to 'src')
| -rw-r--r-- | src/session.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/session.cpp b/src/session.cpp index f61c34e..36c2c6f 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -130,9 +130,11 @@ std::unique_ptr<CSession::SRecvData> CSession::read() { std::unique_ptr<CSession::SRecvData> CSession::read(const std::string &msg, bool bypassDeaf) { const auto deaf = isDeaf(); - if (bypassDeaf && deaf) setDeaf(false); + if (bypassDeaf && deaf) + setDeaf(false); write(NONEWLINE, "{}", msg, false); - if (bypassDeaf && deaf) setDeaf(true); + if (bypassDeaf && deaf) + setDeaf(true); m_isReading = true; return read(); } |
