aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/strict.lua2
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)
33end 33end
34 34
35mt.__index = function (t, n) 35mt.__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)