diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/matcher/compile.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/matcher/compile.lua b/server/src/matcher/compile.lua index c9b847e5..eb85bc61 100644 --- a/server/src/matcher/compile.lua +++ b/server/src/matcher/compile.lua @@ -430,7 +430,9 @@ function mt:searchFunction(func) end function mt:searchLocalFunction(func) - self:markLocal(func.name) + if func.name then + self:markLocal(func.name) + end self.env:push() self:forList(func.arg, function (arg) self:markLocal(arg) |