made luash not crash without login()
This commit is contained in:
parent
56aca17c96
commit
c83fd7a482
@ -1,7 +1,9 @@
|
|||||||
function luash(si)
|
function luash(si)
|
||||||
spawn("lua shell",function()
|
spawn("lua shell",function()
|
||||||
|
if login then
|
||||||
repeat
|
repeat
|
||||||
until login()
|
until login()
|
||||||
|
end
|
||||||
print("\f"..MOTD)
|
print("\f"..MOTD)
|
||||||
print(_VERSION)
|
print(_VERSION)
|
||||||
while true do
|
while true do
|
||||||
|
Loading…
Reference in New Issue
Block a user