Module:No globals: Difference between revisions
← Older edit
Newer edit →
Module:No globals (view source)
Revision as of 15:35, 2 May 2014
16 BYTES REMOVED
,  8 YEARS AGO
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
Jackmcbarn
AUTOPATROLLERS
2,535
EDITS
Privacy policy
Terms of Use
Desktop
HomeRandom Nearby Log inDonateAbout Wikimedia CommonsDisclaimers