diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/strict.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
31 | end | 31 | end |
32 | rawset(t, n, v) | 32 | rawset(t, n, v) |
33 | end | 33 | end |
34 | 34 | ||
35 | mt.__index = function (t, n) | 35 | mt.__index = function (t, n) |
36 | if not mt.__declared[n] and what() ~= "C" then | 36 | if not mt.__declared[n] and what() ~= "C" then |
37 | error("variable '"..n.."' is not declared", 2) | 37 | error("variable '"..n.."' is not declared", 2) |