fix: remove _s poison

This commit is contained in:
2025-02-06 12:55:05 +01:00
parent 547948a324
commit 5a4f180986
13 changed files with 77 additions and 98 deletions

View File

@ -86,7 +86,7 @@ namespace rcon
}
char clean_name[32]{};
strncpy_s(clean_name, client->name, _TRUNCATE);
game::I_strncpyz(clean_name, client->name, sizeof(clean_name));
game::I_CleanStr(clean_name);
buffer.append(utils::string::va("%3i %5i %3s %s %32s %16s %21s %5i\n",