Module:No globals: Difference between revisions
Jump to navigation
Jump to search
View |
m Reverted edits by Mohamed Saed (talk) to last revision by Reception123 |
||
Line 2: | Line 2: | ||
function mt.__index (t, k) | function mt.__index (t, k) | ||
if k ~= 'arg' then | if k ~= 'arg' then | ||
error('Tried to | error('Tried to read nil global ' .. tostring(k), 2) | ||
end | end | ||
return nil | return nil |