mirror of
https://github.com/mt-mods/mail.git
synced 2025-03-15 06:01:25 +00:00
fix smoke test
This commit is contained in:
parent
f7a7ef361a
commit
f53221e742
1 changed files with 4 additions and 0 deletions
4
mtt.lua
4
mtt.lua
|
@ -1,5 +1,9 @@
|
|||
|
||||
mtt.register("send mail", function(callback)
|
||||
-- create "player2"
|
||||
local auth_handler = minetest.get_auth_handler()
|
||||
auth_handler.set_password("player2", "")
|
||||
|
||||
-- send a mail
|
||||
mail.send("player1", "player2", "something", "blah")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue