From: Perttu Ahola Date: Sat, 31 Mar 2012 14:41:04 +0000 (+0300) Subject: Fix authentication handler reporting failed password change while it isn't X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=a18326e97ab96dd74f49760b4d3e069bda89abfc;p=zefram%2Fminetest%2Fminetest_engine.git Fix authentication handler reporting failed password change while it isn't --- diff --git a/builtin/builtin.lua b/builtin/builtin.lua index 2ca5f15a..d681faa7 100644 --- a/builtin/builtin.lua +++ b/builtin/builtin.lua @@ -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")