Fix authentication handler reporting failed password change while it isn't

master
Perttu Ahola 2012-03-31 17:41:04 +03:00
parent 36c9463467
commit a18326e97a
1 changed files with 1 additions and 0 deletions

View File

@ -1329,6 +1329,7 @@ minetest.builtin_auth_handler = {
minetest.auth_table[name].password = password
save_auth_file()
end
return true
end,
set_privileges = function(name, privileges)
assert(type(name) == "string")