summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2016-04-25 03:09:16 -0500
committercheapie <no-email-for-you@example.com>2016-04-25 03:09:16 -0500
commitcd6c83e8e728582ac36cfb3c6382813971baab0a (patch)
tree697e4b18cfef36f37ce47ed0178ffffd3fcf195e
parent4256356de1a10c723c28ff4af5c8323393718773 (diff)
downloadmail-master.tar
mail-master.tar.gz
mail-master.tar.bz2
mail-master.tar.xz
mail-master.zip
Ad missing mail.save()HEADmaster
-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