diff options
Diffstat (limited to 'server/src/core/diagnostics.lua')
-rw-r--r-- | server/src/core/diagnostics.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua index 2e0e0066..40e089b6 100644 --- a/server/src/core/diagnostics.lua +++ b/server/src/core/diagnostics.lua @@ -47,7 +47,7 @@ function mt:searchUndefinedGlobal(callback) if field.value.lib then goto NEXT_VAR end - if field.source.uri ~= self.vm.uri then + if not field.uris[self.vm.uri] then goto NEXT_VAR end if type(index) ~= 'string' then |