[Tournament] Return RespInvalidCommand from unhandled tournament stubs

This commit is contained in:
BruebachL 2026-10-11 14:46:15 +02:00 • committed by Lukas Brübach
parent 752a8a3c64
commit a506420f33

View file

@ -606,14 +606,14 @@ Response::ResponseCode Server_AbstractParticipant::cmdReportMatchResult(const Co
ResponseContainer & /*rc*/,
GameEventStorage & /*ges*/)
{
return Response::RespContextError;
return Response::RespInvalidCommand;
}
Response::ResponseCode Server_AbstractParticipant::cmdAdvanceTournament(const Command_AdvanceTournament & /*cmd*/,
ResponseContainer & /*rc*/,
GameEventStorage & /*ges*/)
{
return Response::RespContextError;
return Response::RespInvalidCommand;
}
Response::ResponseCode
@ -621,5 +621,5 @@ Server_AbstractParticipant::cmdTournamentSettingsSelect(const Command_Tournament
ResponseContainer & /*rc*/,
GameEventStorage & /*ges*/)
{
return Response::RespContextError;
return Response::RespInvalidCommand;
}