Made Telnetserver optional

This commit is contained in:
Ollo 2021-01-14 21:55:51 +01:00
parent 7195c08992
commit 30343fe638

View File

@ -36,8 +36,10 @@ end
function mydofile(mod)
if (file.open(mod .. ".lua")) then
dofile( mod .. ".lua")
else
elseif (file.open(mod .. ".lc")) then
dofile(mod .. ".lc")
else
print("Error: " .. mod)
end
end