From 30343fe638bd99f533bd46e050027db69e337ba9 Mon Sep 17 00:00:00 2001 From: Ollo Date: Thu, 14 Jan 2021 21:55:51 +0100 Subject: [PATCH] Made Telnetserver optional --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 1b60740..3023999 100644 --- a/init.lua +++ b/init.lua @@ -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