mirror of
https://github.com/mt-mods/mail.git
synced 2025-04-30 08:21:44 -04:00
Fix mtt crash
This commit is contained in:
parent
40381c1175
commit
8a4290849f
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ end
|
|||
|
||||
function mail.addMessage(message)
|
||||
local messages = mail.getMessages()
|
||||
if messages then
|
||||
if messages[1] then
|
||||
local previousMsg = messages[1]
|
||||
message.id = previousMsg.id + 1
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue