Made Telnetserver optional
This commit is contained in:
parent
7195c08992
commit
30343fe638
4
init.lua
4
init.lua
@ -36,8 +36,10 @@ end
|
|||||||
function mydofile(mod)
|
function mydofile(mod)
|
||||||
if (file.open(mod .. ".lua")) then
|
if (file.open(mod .. ".lua")) then
|
||||||
dofile( mod .. ".lua")
|
dofile( mod .. ".lua")
|
||||||
else
|
elseif (file.open(mod .. ".lc")) then
|
||||||
dofile(mod .. ".lc")
|
dofile(mod .. ".lc")
|
||||||
|
else
|
||||||
|
print("Error: " .. mod)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user