Module:No globals: Difference between revisions
m
1 revision imported
(setting doesn't need exception for name) |
Michaeldakin (talk | contribs) m (1 revision imported) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1:
local mt = getmetatable(_G) or {}
function mt.__index (t, k)
if
error('Tried to read nil global ' .. tostring(k), 2)
end
|