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 9e69d27f..3fa7c3bf 100644
--- a/server-beta/src/core/definition.lua
+++ b/server-beta/src/core/definition.lua
@@ -58,7 +58,7 @@ local function checkRequire(source, offset, callback)
if type(literal) ~= 'string' then
return
end
- local name = searcher.getSpecialName(func)
+ local name = func.special
if name == 'require' then
local result = workspace.findUrisByRequirePath(literal, true)
for _, uri in ipairs(result) do