Add openSession

This commit is contained in:
insweater 2015-02-05 17:43:06 +03:00
parent c1c456e0f8
commit 0990bcb4d6

View File

@ -36,4 +36,9 @@ function GJ.authUser(name, token)
return s
end
-- sessions
function GJ.openSession()
return string.find(req("sessions/open/?", "dump", true, true), "SUCCESS") ~= nil
end
return GJ