mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-05 14:10:31 -04:00
satisfy luacheck
This commit is contained in:
parent
63521f5e85
commit
51e80c6d9d
4 changed files with 21 additions and 16 deletions
|
@ -36,7 +36,7 @@ mail.getContacts = function(playername)
|
|||
return mail.read_json_file(mail.getContactsFile(playername))
|
||||
end
|
||||
|
||||
function pairsByKeys(t, f)
|
||||
function mail.pairsByKeys(t, f)
|
||||
-- http://www.lua.org/pil/19.3.html
|
||||
local a = {}
|
||||
for n in pairs(t) do table.insert(a, n) end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue