mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
[Tournament] Return RespInvalidCommand from unhandled tournament stubs
This commit is contained in:
parent
752a8a3c64
commit
a506420f33
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue