lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> In Lua you cannot sandbox a metatable away. An offending script still
> might just call getmetatable.

Then use __metatable:

http://www.lua.org/manual/5.1/manual.html#pdf-getmetatable

   Jörg