summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-10-24 13:20:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-10-24 13:20:43 +0800
commit8ba8ea5fe51217d4adaf69652541e1b8a697e3a9 (patch)
tree65cf6409959a1f90e4aec2f18da6c6c586a33dc6
parentadf8d529e0110f5b40a97ce02afd08822aeefe25 (diff)
downloadlua-language-server-8ba8ea5fe51217d4adaf69652541e1b8a697e3a9.zip
update bee.net
-rw-r--r--script/service/net.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/service/net.lua b/script/service/net.lua
index 61603d79..86edc9a6 100644
--- a/script/service/net.lua
+++ b/script/service/net.lua
@@ -125,6 +125,7 @@ function stream:select_w()
if n == nil then
self.shutdown_w = true
close_write(self)
+ elseif n == false then
else
self._writebuf = self._writebuf:sub(n + 1)
if self._writebuf == "" then