summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/matcher/diagnostics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/diagnostics.lua b/server/src/matcher/diagnostics.lua
index 9c2e4efd..e53b4c1d 100644
--- a/server/src/matcher/diagnostics.lua
+++ b/server/src/matcher/diagnostics.lua
@@ -31,7 +31,7 @@ local function searchUndefinedGlobal(results, callback)
then
goto NEXT_VAR
end
- if var.key == 'log' then
+ if var.key:lower() == 'log' then
goto NEXT_VAR
end
if not var.key:find '%l' then