diff --git a/ui/compose.lua b/ui/compose.lua index eccc6e3..06080f5 100644 --- a/ui/compose.lua +++ b/ui/compose.lua @@ -45,7 +45,8 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) if msg_id[name] then id = msg_id[name] end - if (fields.to == "" and fields.cc == "" and fields.bcc == "") or fields.body == "" then -- if mail is invalid then store it as a draft + if (fields.to == "" and fields.cc == "" and fields.bcc == "") or fields.body == "" then + -- if mail is invalid then store it as a draft local id = mail.new_uuid() if msg_id[name] then id = msg_id[name]