Made Telnetserver optional
This commit is contained in:
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user