]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Silently handle "ucinewgame" command
[stockfish] / src / uci.cpp
index 1b7705065cd5de4dc6fefca0b2a1f9912cb07dd9..c3eb9190b4f2b5809c4642c827bb2bcd83873d14 100644 (file)
@@ -88,6 +88,9 @@ void uci_loop() {
       else if (token == "go")
           go(pos, is);
 
+      else if (token == "ucinewgame")
+      { /* Avoid returning "Unknown command" */ }
+
       else if (token == "isready")
           cout << "readyok" << endl;