summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin/builtin.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/builtin.lua b/builtin/builtin.lua
index 34bda8245..7b39effb2 100644
--- a/builtin/builtin.lua
+++ b/builtin/builtin.lua
@@ -1177,7 +1177,8 @@ local function read_auth_file()
local newtable = {}
local file, errmsg = io.open(minetest.auth_file_path, 'rb')
if not file then
- error(minetest.auth_file_path.." could not be opened for reading: "..errmsg)
+ minetest.log("info", minetest.auth_file_path.." could not be opened for reading ("..errmsg.."); assuming new world")
+ return
end
for line in file:lines() do
if line ~= "" then