From 482b3f97443329ebb25b19c2a1152b7b6329a689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 29 Jan 2019 15:23:39 +0800 Subject: =?UTF-8?q?=E8=B7=9F=E8=BF=9B=E8=AF=8A=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/core/global.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'server/src/core/global.lua') 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 -- cgit v1.2.3