satisfy luacheck

This commit is contained in:
BuckarooBanzay 2020-10-13 19:20:18 +02:00
parent 63521f5e85
commit 51e80c6d9d
4 changed files with 21 additions and 16 deletions

View file

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