made luash set the session ID correctly

This commit is contained in:
Izaya 2017-09-26 13:57:00 +10:00
parent 8778b140a1
commit 124de18ed2

View File

@ -1,6 +1,7 @@
local tA = {...} local tA = {...}
local si = tA[1] local si = tA[1]
spawn("lua shell",function() spawn("lua shell",function()
os.setenv("sI",si)
_ENV = shutil.genenv() _ENV = shutil.genenv()
coroutine.yield() coroutine.yield()
log(pcall(login)) log(pcall(login))
@ -45,4 +46,4 @@ spawn("lua shell",function()
print(table.unpack(r)) print(table.unpack(r))
end end
end end
end,{sI=si}) end)