fix effil.lua (#75)

This commit is contained in:
mihacooper 2017-09-29 21:44:05 +03:00 committed by Ilia
parent 4784647e70
commit 0ce3c31eec

View File

@ -41,7 +41,7 @@ end
-- __call - run thread, can be invoked multiple times
api.thread = function (f)
if type(f) ~= "function" then
error("bad argument #1 to 'effil.thread' (function expected, got " .. effil.type(f) .. ")")
error("bad argument #1 to 'effil.thread' (function expected, got " .. capi.type(f) .. ")")
end
local thread_config = {