Fix GJ.pingSession
This commit is contained in:
parent
978625917d
commit
60d7b189ae
@ -138,7 +138,7 @@ function GJ.pingSession(active)
|
|||||||
local status = "idle"
|
local status = "idle"
|
||||||
if active then status = "active" end
|
if active then status = "active" end
|
||||||
|
|
||||||
return string.find(req("sessions/open/?status=" .. status, "dump", true, true), "SUCCESS") ~= nil
|
return string.find(req("sessions/ping/?status=" .. status, "dump", true, true), "SUCCESS") ~= nil
|
||||||
end
|
end
|
||||||
|
|
||||||
function GJ.closeSession()
|
function GJ.closeSession()
|
||||||
|
Reference in New Issue
Block a user