migration fixes

This commit is contained in:
Peter Nerlich 2020-08-12 12:23:46 +02:00
parent 106e94eee7
commit 39f47437b6
3 changed files with 3 additions and 3 deletions

View file

@ -29,8 +29,7 @@ end
mail.migrate_contacts = function(playername)
local file = io.open(mail.getContactsFile(playername), 'r')
if not file then
file:close() -- file doesn't exist! This is a case for Migrate Man!
-- file doesn't exist! This is a case for Migrate Man!
local messages = mail.getMessages(playername)
local contacts = {}