improved table.all

This commit is contained in:
gabryon99 2020-09-14 19:57:33 +02:00
parent 0fb6f9472f
commit 489ef050b2
2 changed files with 9 additions and 3 deletions

View file

@ -47,7 +47,7 @@ for endpoint_key, endpoint in pairs(endpoints_types) do
}
end
local can_create_recipient = not table_all(endpoints,
local can_create_recipient = not table.all(endpoints,
function(endpoint)
return (endpoint.builtin ~= nil)
end