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
1 changed files with 2 additions and 1 deletions

View File

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