From 4cb4bb7f76ed9b1b3c34e7040b6a0c90b0c2c7f6 Mon Sep 17 00:00:00 2001 From: Jean-loup Gailly Date: Sun, 4 Apr 2010 00:19:24 +0200 Subject: [PATCH] Distributed engine: support the kgs-rules command. --- gtp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtp.h b/gtp.h index 3cb20e4..296abf0 100644 --- a/gtp.h +++ b/gtp.h @@ -19,6 +19,6 @@ void gtp_prefix(char prefix, int id); void gtp_flush(void); #define is_gamestart(cmd) (!strcasecmp((cmd), "boardsize")) -#define is_reset(cmd) (is_gamestart(cmd) || !strcasecmp((cmd), "clear_board")) +#define is_reset(cmd) (is_gamestart(cmd) || !strcasecmp((cmd), "clear_board") || !strcasecmp((cmd), "kgs-rules")) #endif -- 2.11.4.GIT