Add closeSession

This commit is contained in:
insweater 2015-02-05 17:49:42 +03:00
parent 0b7235b450
commit 8a5920c2b1

View File

@ -48,4 +48,8 @@ function GJ.pingSession(active)
return string.find(req("sessions/open/?status=" .. status, "dump", true, true), "SUCCESS") ~= nil return string.find(req("sessions/open/?status=" .. status, "dump", true, true), "SUCCESS") ~= nil
end end
function GJ.closeSession()
return string.find(req("sessions/close/?", "dump", true, true), "SUCCESS") ~= nil
end
return GJ return GJ