Open main menu
Changes
Module:No globals
16 bytes removed
,
08: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
← Older edit
Newer edit →
Anonymous user
Jackmcbarn