mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Stop is not an unknown command
If GUI sends stop while we are waiting for a command do not reply with a silly: Unknown command: stop No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
9b6b510ca8
commit
ecb98a3330
1 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,9 @@ void uci_loop() {
|
|||
if (token == "quit")
|
||||
quit = true;
|
||||
|
||||
else if (token == "stop")
|
||||
{ /* avoid to reply "Unknown command: stop" */ }
|
||||
|
||||
else if (token == "go")
|
||||
quit = !go(pos, is);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue