Skip to content

Commit

Permalink
cli: fix: allow non-lower-case
Browse files Browse the repository at this point in the history
  • Loading branch information
bloerwald committed Nov 15, 2023
1 parent 1326a07 commit f573d73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MapCleaner.lua
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ function MapCleaner:ListVisible()
end

function MapCleaner:Cli(line)
line = line:lower()
local op, rest = line:match("^(%S*)%s*(.-)$")
if op == COMMAND_FILTERPOI then
local id = tonumber(rest)
Expand Down

0 comments on commit f573d73

Please sign in to comment.