mirror of https://github.com/minetest/minetest.git
Now outputs an error message to the log
This commit is contained in:
parent
d0ad9a4daf
commit
d42c6d25ef
|
@ -47,6 +47,8 @@ local function read_auth_file()
|
|||
if (name and password and privilege_string) then
|
||||
local privileges = core.string_to_privs(privilege_string)
|
||||
newtable[name] = {password=password, privileges=privileges, last_login=last_login}
|
||||
else
|
||||
core.log("error", "Invalid line in "..core.auth_file_path..": "..line.."; ignoring.")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue