fix PCv2 6x7C command

This commit is contained in:
Martin Michelsen
2024-03-08 13:42:54 -08:00
parent b491a57f57
commit 287296cf48
2 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -3309,7 +3309,7 @@ static void on_challenge_update_records(shared_ptr<Client> c, uint8_t command, u
break;
}
case Version::PC_V2: {
const auto& cmd = check_size_t<G_SetChallengeRecords_DC_6x7C>(data, size);
const auto& cmd = check_size_t<G_SetChallengeRecords_PC_6x7C>(data, size);
p->challenge_records = cmd.records;
break;
}