Fix luacheck (2)

This commit is contained in:
Athozus 2023-04-05 19:11:57 +02:00
parent 80e8e106e6
commit f387992d46
No known key found for this signature in database
GPG key ID: B50895022E8484BF
3 changed files with 9 additions and 9 deletions

View file

@ -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