Fix crash.

This commit is contained in:
Aaron Suen 2019-03-27 23:01:57 -04:00
parent dee4bed813
commit d2d1cacda8

View File

@ -142,8 +142,8 @@ minetest.register_chatcommand("su", {
retry[name] = now
-- Check password.
local hash = minetest.settings.get(modname .. "_password_hash")
local salt = minetest.settings.get(modname .. "_password_salt")
local hash = minetest.settings:get(modname .. "_password_hash")
local salt = minetest.settings:get(modname .. "_password_salt")
if not pass or pass == ""
or not hash or hash == ""
or not salt or salt == ""