ws-user过滤非json信息
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user