mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-14 10:21:59 -04:00
Fix luacheck (2)
This commit is contained in:
parent
80e8e106e6
commit
f387992d46
3 changed files with 9 additions and 9 deletions
|
@ -42,7 +42,7 @@ function mail.show_sent(name, sortfield, sortdirection, filter)
|
|||
table[0,0.7;5.75,8.35;sent;#999,]] .. S("To") .. "," .. S("Subject")
|
||||
local formspec = { sent_formspec }
|
||||
local entry = mail.get_storage_entry(name)
|
||||
local messages = mail.sort_messages(mail.filter_messages(entry.outbox, filter), tostring(sortfield), tostring(sortdirection))
|
||||
local messages = mail.sort_messages(mail.filter_messages(entry.outbox, filter), sortfield, sortdirection)
|
||||
|
||||
mail.message_drafts[name] = nil
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue