made luash set the session ID correctly
This commit is contained in:
parent
8778b140a1
commit
124de18ed2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user