summaryrefslogtreecommitdiff
path: root/server/src/core/global.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/global.lua')
-rw-r--r--server/src/core/global.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/core/global.lua b/server/src/core/global.lua
index ac1170a7..a8f5092d 100644
--- a/server/src/core/global.lua
+++ b/server/src/core/global.lua
@@ -8,10 +8,16 @@ function mt:compileVM(uri)
end
function mt:markSet(uri)
+ if not uri then
+ return
+ end
self.set[uri] = true
end
function mt:markGet(uri)
+ if not uri then
+ return
+ end
self.get[uri] = true
end