lua-users home
lua-l archive

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


2014-04-02 10:18 GMT+02:00 David Demelier <demelier.david@gmail.com>:

> But users can still modify the package.* variables in its user script (even
> if we add a __newindex or securities like that, it can uses rawset).

If you can supply your user with only a crippled 'require', you can also
set 'rawget' and 'rawset' to nil.