Fix line too long luacheck

This commit is contained in:
Athozus 2023-04-02 19:00:25 +02:00
parent 0550369001
commit 030dcf801a
No known key found for this signature in database
GPG key ID: B50895022E8484BF

View file

@ -45,7 +45,8 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
if msg_id[name] then if msg_id[name] then
id = msg_id[name] id = msg_id[name]
end 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() local id = mail.new_uuid()
if msg_id[name] then if msg_id[name] then
id = msg_id[name] id = msg_id[name]