Fixed "unknown command" message

This commit is contained in:
SChernykh 2022-08-17 19:37:18 +02:00
parent d4e27a27cb
commit 3802886722

View file

@ -272,7 +272,7 @@ void ConsoleCommands::stdinReadCallback(uv_stream_t* stream, ssize_t nread, cons
}
if (!c->name.len) {
LOGWARN(0, "Unknown command " << command);
LOGWARN(0, "Unknown command " << command.c_str());
}
k = command.find_first_not_of("\r\n", k + 1);