Module:No globals: Difference between revisions
← Older edit
Newer edit →
Module:No globals (view source)
Revision as of 20:48, 23 April 2014
16 BYTES REMOVED
,  8 YEARS AGO
setting doesn't need exception for name
end
function mt.__newindex(t, k, v)
if k ~= 'name' and k ~= 'arg' then
error('Tried to write global ' .. tostring(k), 2)
end
Jackmcbarn
AUTOPATROLLERS
2,535
EDITS
Privacy policy
Terms of Use
Desktop
HomeRandom Nearby Log inDonateAbout Wikimedia CommonsDisclaimers