Depricate factions.get_password()

returns nil after first run
This commit is contained in:
Luke aka SwissalpS 2024-09-11 10:50:52 +02:00
parent b864fcafe1
commit 0163900ce9

@ -162,6 +162,8 @@ function factions.valid_password(fname, password)
end
function factions.get_password(fname)
minetest.log("warning", "Deprecated use of factions.get_password(). "
.. "Please update to using factions.valid_password() instead.")
if facts[fname] == nil then
return false
end