check field arg for nil
This commit is contained in:
parent
6537d205d4
commit
0f1b3c6260
@ -14,6 +14,10 @@ end
|
||||
|
||||
|
||||
function mail.parse_player_list(field)
|
||||
if not field then
|
||||
return {}
|
||||
end
|
||||
|
||||
local separator = ", "
|
||||
local pattern = "([^" .. separator .. "]+)"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user