summaryrefslogtreecommitdiff
path: root/server-beta/src/searcher
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/searcher')
-rw-r--r--server-beta/src/searcher/getGlobals.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/server-beta/src/searcher/getGlobals.lua b/server-beta/src/searcher/getGlobals.lua
index 56c489bd..4519985b 100644
--- a/server-beta/src/searcher/getGlobals.lua
+++ b/server-beta/src/searcher/getGlobals.lua
@@ -13,6 +13,9 @@ local function getGlobals(source)
end
mark[src] = true
local name = info.key
+ if not name then
+ return
+ end
if not cache[name] then
cache[name] = {
key = name,