Fix GJ.pingSession

This commit is contained in:
insweater 2015-08-18 22:02:37 +04:00
parent 978625917d
commit 60d7b189ae

View File

@ -138,7 +138,7 @@ function GJ.pingSession(active)
local status = "idle"
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
function GJ.closeSession()