made luash not crash without login()

This commit is contained in:
Izaya 2017-09-07 13:12:48 +10:00
parent 56aca17c96
commit c83fd7a482

View File

@ -1,7 +1,9 @@
function luash(si)
spawn("lua shell",function()
repeat
until login()
if login then
repeat
until login()
end
print("\f"..MOTD)
print(_VERSION)
while true do