mirror of
https://github.com/minetest/minetest.git
synced 2025-07-01 23:50:22 +02:00
Now outputs an error message to the log
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user