attempt to fix test

This commit is contained in:
flux 2023-02-23 14:33:11 -08:00
parent 2ddeb05f83
commit 7f6a1e4a2b
No known key found for this signature in database
GPG key ID: 9333B27816848A15

View file

@ -1,11 +1,11 @@
mtt.register("send mail", function(callback)
local auth_handler = minetest.get_auth_handler()
if not auth_handler:get_auth("player1") then
auth_handler:create_auth("player1", "test")
if not auth_handler.get_auth("player1") then
auth_handler.create_auth("player1", "test")
end
if not auth_handler:get_auth("player2") then
auth_handler:create_auth("player2", "test")
if not auth_handler.get_auth("player2") then
auth_handler.create_auth("player2", "test")
end
-- send a mail