summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-04-18 14:07:42 +0800
committer最萌小汐 <sumneko@hotmail.com>2024-04-18 14:07:42 +0800
commit720c39887a8804ffb8b593a7303664407a9e9cbb (patch)
tree59b03756a01ea79afe7e239bf2ae993ef3aabf51 /script/proto
parent793fa4abf906362ba43bf2ea1ffbe7083499805a (diff)
downloadlua-language-server-720c39887a8804ffb8b593a7303664407a9e9cbb.zip
兼容新的bee.net
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/proto.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua
index b0d5d1a9..01ff8238 100644
--- a/script/proto/proto.lua
+++ b/script/proto/proto.lua
@@ -262,7 +262,7 @@ function m.listen(mode, socketPort)
net.update()
end)
- function server:on_accept(client)
+ function server:on_accepted(client)
t:remove()
m.client = client
client:write(dummyClient.buf)