summaryrefslogtreecommitdiff
path: root/server/src/core/rename.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/rename.lua')
-rw-r--r--server/src/core/rename.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/src/core/rename.lua b/server/src/core/rename.lua
index f42da08b..655c1b9a 100644
--- a/server/src/core/rename.lua
+++ b/server/src/core/rename.lua
@@ -35,8 +35,6 @@ local function parseResult(result, source, newName)
for _, info in ipairs(label) do
positions[#positions+1] = {info.source.start, info.source.finish}
end
- else
- error('Unknow result type:' .. result.type)
end
return positions
end