diff --git a/hecl/lib/Console.cpp b/hecl/lib/Console.cpp index 401b41fbb..0a7673c3f 100644 --- a/hecl/lib/Console.cpp +++ b/hecl/lib/Console.cpp @@ -168,7 +168,7 @@ void Console::listCommands(Console* /*con*/, const std::vector& /*a } bool Console::commandExists(std::string_view cmd) { - std::string cmdName = cmd.data(); + std::string cmdName{cmd}; athena::utility::tolower(cmdName); return m_commands.find(cmdName) != m_commands.end();