Codechange: [Network] Let server changing a client name use std::string

This commit is contained in:
rubidium42
2021-05-29 19:29:14 +02:00
committed by rubidium42
parent d70fb74ac6
commit 8b9f1147df
3 changed files with 3 additions and 3 deletions

View File

@@ -724,7 +724,7 @@ DEF_CONSOLE_CMD(ConClientNickChange)
return true;
}
if (!NetworkServerChangeClientName(client_id, client_name.c_str())) {
if (!NetworkServerChangeClientName(client_id, client_name)) {
IConsoleError("Cannot give a client a duplicate name");
}