Add closeSession
This commit is contained in:
parent
0b7235b450
commit
8a5920c2b1
@ -48,4 +48,8 @@ function GJ.pingSession(active)
|
||||
return string.find(req("sessions/open/?status=" .. status, "dump", true, true), "SUCCESS") ~= nil
|
||||
end
|
||||
|
||||
function GJ.closeSession()
|
||||
return string.find(req("sessions/close/?", "dump", true, true), "SUCCESS") ~= nil
|
||||
end
|
||||
|
||||
return GJ
|
Reference in New Issue
Block a user