[OPENBUS-2723] Permitir utilizar funções padrão de Lua no arquivo de configuração do 'busserv


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/trunk@161241 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 149afe5e
......@@ -180,6 +180,7 @@ function module.create(...)
local ok, result = xpcall(require, traceback, name)
package.path, package.cpath = path, cpath
if not ok then error(result) end
module = result
end
allowed[name] = module
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment