1
0
Fork 0
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:
Marco Costalba 2011-11-10 09:10:44 +01:00
parent 9b6b510ca8
commit ecb98a3330

View file

@ -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);