summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/matcher/vm.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/matcher/vm.lua b/server/src/matcher/vm.lua
index 5f984d6a..fdfeeb21 100644
--- a/server/src/matcher/vm.lua
+++ b/server/src/matcher/vm.lua
@@ -42,10 +42,9 @@ local function readOnly(t)
if type(v) == 'table' then
v = readOnly(v)
end
+ self[k] = v
return v
end,
- __newindex = function (self, k, v)
- end,
__len = function (self)
return #t
end,