fixed issue #264

This commit is contained in:
Damien Courtois 2015-03-24 12:21:03 +01:00
parent d653b4e19a
commit b74bc541dc

View File

@ -82,7 +82,8 @@
os.locate(name .. ".lua")
if not p then
return "\n\tno file " .. name .. " on module paths"
-- try to load from the embedded script
p = "$/" .. full
end
local chunk, err = loadfile(p)