ws-user过滤非json信息

This commit is contained in:
MrZ626
2021-03-28 16:08:25 +08:00
parent d0b797d6bd
commit e6becff209

View File

@@ -1165,6 +1165,7 @@ do
return return
else else
local res=JSON.decode(message) local res=JSON.decode(message)
if not res then return end
if res.message=="Connected"then if res.message=="Connected"then
LOGIN=true LOGIN=true
if res.id then if res.id then