Changes

Jump to: navigation, search

Module:No globals

16 bytes removed, 07:35, 2 May 2014
rm name exception
local mt = getmetatable(_G) or {}
function mt.__index (t, k)
if k ~= 'name' and k ~= 'arg' then
error('Tried to read nil global ' .. tostring(k), 2)
end
Anonymous user

Navigation menu