mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-14 02:11:55 -04:00
Fix line too long luacheck
This commit is contained in:
parent
0550369001
commit
030dcf801a
1 changed files with 2 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue