mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-06 01:53:25 -08:00
[Tournament] Return RespInvalidCommand from unhandled tournament stubs
This commit is contained in:
parent
7d1ad2191a
commit
ed65059f5b
1 changed files with 3 additions and 3 deletions
|
|
@ -599,14 +599,14 @@ Response::ResponseCode Server_AbstractParticipant::cmdReportMatchResult(const Co
|
||||||
ResponseContainer & /*rc*/,
|
ResponseContainer & /*rc*/,
|
||||||
GameEventStorage & /*ges*/)
|
GameEventStorage & /*ges*/)
|
||||||
{
|
{
|
||||||
return Response::RespContextError;
|
return Response::RespInvalidCommand;
|
||||||
}
|
}
|
||||||
|
|
||||||
Response::ResponseCode Server_AbstractParticipant::cmdAdvanceTournament(const Command_AdvanceTournament & /*cmd*/,
|
Response::ResponseCode Server_AbstractParticipant::cmdAdvanceTournament(const Command_AdvanceTournament & /*cmd*/,
|
||||||
ResponseContainer & /*rc*/,
|
ResponseContainer & /*rc*/,
|
||||||
GameEventStorage & /*ges*/)
|
GameEventStorage & /*ges*/)
|
||||||
{
|
{
|
||||||
return Response::RespContextError;
|
return Response::RespInvalidCommand;
|
||||||
}
|
}
|
||||||
|
|
||||||
Response::ResponseCode
|
Response::ResponseCode
|
||||||
|
|
@ -614,5 +614,5 @@ Server_AbstractParticipant::cmdTournamentSettingsSelect(const Command_Tournament
|
||||||
ResponseContainer & /*rc*/,
|
ResponseContainer & /*rc*/,
|
||||||
GameEventStorage & /*ges*/)
|
GameEventStorage & /*ges*/)
|
||||||
{
|
{
|
||||||
return Response::RespContextError;
|
return Response::RespInvalidCommand;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue