mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-04 05:37:00 -04:00
satisfy luacheck
This commit is contained in:
parent
63521f5e85
commit
51e80c6d9d
4 changed files with 21 additions and 16 deletions
|
@ -34,7 +34,7 @@ mail.migrate_contacts = function(playername)
|
|||
local contacts = {}
|
||||
|
||||
if messages and not contacts then
|
||||
for k,message in pairs(messages) do
|
||||
for _, message in pairs(messages) do
|
||||
mail.ensure_new_format(message)
|
||||
if contacts[string.lower(message.from)] == nil then
|
||||
contacts[string.lower(message.from)] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue