summaryrefslogtreecommitdiff
path: root/script/proto/proto.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-10-25 15:43:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-10-25 15:43:06 +0800
commit178d6258167de8a305284e65c413ce6f4df5b5e8 (patch)
tree30cc4a6b431c2cc54c84873565246654c8e43527 /script/proto/proto.lua
parent72d4ac2477d49ab7cd5875ec91608d817d244f8e (diff)
downloadlua-language-server-178d6258167de8a305284e65c413ce6f4df5b5e8.zip
update bee.net
#2382
Diffstat (limited to 'script/proto/proto.lua')
-rw-r--r--script/proto/proto.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua
index 991a3c60..d01c8f36 100644
--- a/script/proto/proto.lua
+++ b/script/proto/proto.lua
@@ -57,7 +57,7 @@ function m.send(data)
io.write(buf)
elseif m.mode == 'socket' then
m.client:write(buf)
- m.client:update()
+ net.update()
end
end
@@ -265,7 +265,7 @@ function m.listen(mode, socketPort)
t:remove()
m.client = client
client:write(dummyClient.buf)
- client:update()
+ net.update()
end
pub.task('loadProtoBySocket', {