summaryrefslogtreecommitdiff
path: root/server-beta/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/core')
-rw-r--r--server-beta/src/core/definition.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/core/definition.lua b/server-beta/src/core/definition.lua
index 3fa7c3bf..a7008926 100644
--- a/server-beta/src/core/definition.lua
+++ b/server-beta/src/core/definition.lua
@@ -17,7 +17,7 @@ local function findDef(source, callback)
and source.type ~= 'goto' then
return
end
- searcher.eachRef(source, function (info)
+ searcher.eachDef(source, function (info)
if info.mode == 'declare'
or info.mode == 'set'
or info.mode == 'return' then