summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarter Kolwey <cheapiephp@gmail.com>2016-04-25 03:09:16 -0500
committerCarter Kolwey <cheapiephp@gmail.com>2016-04-25 03:09:16 -0500
commit60691b02854d59b8b415d8acfecfdd20a7cac24e (patch)
tree697e4b18cfef36f37ce47ed0178ffffd3fcf195e
parent725f410df4b4977438c02a8649d1576026f7b199 (diff)
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 6fd3fed..71895e3 100644
--- a/init.lua
+++ b/init.lua
@@ -169,6 +169,7 @@ minetest.register_on_player_receive_fields(function(player,formname,fields)
elseif fields.delete then
if mail.messages[name][mail.highlightedmessages[name]] then table.remove(mail.messages[name],mail.highlightedmessages[name]) end
mail.showinbox(name)
+ mail.save()
end
return true
elseif formname == "mail:compose" then