diff --git a/etc/strict.lua b/etc/strict.lua index 604619dd..e57b0cc1 100644 --- a/etc/strict.lua +++ b/etc/strict.lua @@ -31,7 +31,7 @@ mt.__newindex = function (t, n, v) end rawset(t, n, v) end - + mt.__index = function (t, n) if not mt.__declared[n] and what() ~= "C" then error("variable '"..n.."' is not declared", 2)