Fix crash.
This commit is contained in:
parent
dee4bed813
commit
d2d1cacda8
@ -142,8 +142,8 @@ minetest.register_chatcommand("su", {
|
|||||||
retry[name] = now
|
retry[name] = now
|
||||||
|
|
||||||
-- Check password.
|
-- Check password.
|
||||||
local hash = minetest.settings.get(modname .. "_password_hash")
|
local hash = minetest.settings:get(modname .. "_password_hash")
|
||||||
local salt = minetest.settings.get(modname .. "_password_salt")
|
local salt = minetest.settings:get(modname .. "_password_salt")
|
||||||
if not pass or pass == ""
|
if not pass or pass == ""
|
||||||
or not hash or hash == ""
|
or not hash or hash == ""
|
||||||
or not salt or salt == ""
|
or not salt or salt == ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user