summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 5ed235c9..d2232086 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -211,7 +211,7 @@ end
---@param uri uri
function mt:close(uri)
self._files:close(uri)
- if not self:isLua() or self:isIgnored(uri) then
+ if not self:isLua(uri) or self:isIgnored(uri) then
self:removeText(uri)
end
end