summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/core/diagnostics.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua
index d88c4fc6..64852f03 100644
--- a/server/src/core/diagnostics.lua
+++ b/server/src/core/diagnostics.lua
@@ -52,10 +52,7 @@ function mt:searchUndefinedGlobal(callback)
goto NEXT_VAR
end
local lIndex = index:lower()
- if lIndex == 'log' or lIndex == '' then
- goto NEXT_VAR
- end
- if index:find '^_*%u' then
+ if lIndex == '' then
goto NEXT_VAR
end
for _, info in ipairs(field) do