summaryrefslogtreecommitdiff
path: root/server/src/matcher
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/matcher')
-rw-r--r--server/src/matcher/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/vm.lua b/server/src/matcher/vm.lua
index 87f0139a..9e559fa7 100644
--- a/server/src/matcher/vm.lua
+++ b/server/src/matcher/vm.lua
@@ -309,7 +309,7 @@ function mt:getField(pValue, name, source)
end
function mt:buildFunction(exp, object)
- local func = self:createValue('function')
+ local func = self:createValue('function', exp)
func.args = {}
func.argValues = {}