From: Marco Costalba Date: Thu, 10 Nov 2011 08:10:44 +0000 (+0100) Subject: Stop is not an unknown command X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=ecb98a33301ee39b1470d045d33c6772fe2366d9 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 --- diff --git a/src/uci.cpp b/src/uci.cpp index b7f72d9d..ff804f97 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -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);