From ba51f66b8fbee55e37a9643090b7e4a8c4ef0e31 Mon Sep 17 00:00:00 2001 From: Vincent Ollivier Date: Thu, 31 May 2012 19:42:57 +0200 Subject: [PATCH] Add 'ping' feature declaration for Xboard protocol --- src/xboard.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xboard.h b/src/xboard.h index 3813506..67444db 100644 --- a/src/xboard.h +++ b/src/xboard.h @@ -24,9 +24,10 @@ #include "protocol.h" -static const int XBOARD_NB_FEATURES = 3; +static const int XBOARD_NB_FEATURES = 4; static const std::string XBOARD_FEATURES[XBOARD_NB_FEATURES][2] = { { "myname", "Purple Haze " + static_cast(VERSION) }, + { "ping", "1" }, { "setboard", "1" }, { "done", "1" }, }; -- 2.11.4.GIT