mirror of https://github.com/Hilbis/Hilbish
fix: remove virt g handling at command exit
parent
8f942f6f60
commit
8ae22127c0
|
@ -217,14 +217,6 @@ do
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
bait.catch('command.exit', function ()
|
|
||||||
for key, value in pairs(virt_G) do
|
|
||||||
if type(value) == 'string' then
|
|
||||||
virt_G[key] = os.getenv(key)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
commander.register('cdr', function(args)
|
commander.register('cdr', function(args)
|
||||||
|
|
Loading…
Reference in New Issue