diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-06-28 23:12:01 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-07-06 22:33:03 +0200 |
commit | e735faf7558aff457432a14bdfde893b33d4d311 (patch) | |
tree | 35c76c2849b160c4fa112de6fce7a793ed670b9c /src/ClientHandle.cpp | |
parent | Remove outdated comment and redundant check (diff) | |
download | cuberite-e735faf7558aff457432a14bdfde893b33d4d311.tar cuberite-e735faf7558aff457432a14bdfde893b33d4d311.tar.gz cuberite-e735faf7558aff457432a14bdfde893b33d4d311.tar.bz2 cuberite-e735faf7558aff457432a14bdfde893b33d4d311.tar.lz cuberite-e735faf7558aff457432a14bdfde893b33d4d311.tar.xz cuberite-e735faf7558aff457432a14bdfde893b33d4d311.tar.zst cuberite-e735faf7558aff457432a14bdfde893b33d4d311.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 2e50c669b..8dbf4faa5 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -238,6 +238,7 @@ void cClientHandle::ProcessProtocolOut() // to prevent it being reset between the null check and the Send: if (auto Link = m_Link; Link != nullptr) { + m_Protocol->DataPrepared(OutgoingData); Link->Send(OutgoingData.data(), OutgoingData.size()); } } |