From dbc7ef670385afc6ff41681c02f2e1b683f6ab24 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 25 Feb 2010 20:29:45 +0100 Subject: [PATCH] Also capture (numeric) whispers of players for -autoKibitz --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index f235584..9083ba9 100644 --- a/backend.c +++ b/backend.c @@ -2705,7 +2705,7 @@ read_from_ics(isr, closure, data, count, error) if (appData.autoKibitz && started == STARTED_NONE && !appData.icsEngineAnalyze && // [HGM] [DM] ICS analyze (gameMode == IcsPlayingWhite || gameMode == IcsPlayingBlack || gameMode == IcsObserving)) { - if(looking_at(buf, &i, "* kibitzes: ") && + if((looking_at(buf, &i, "* kibitzes: ") || looking_at(buf, &i, "* whispers: ")) && (StrStr(star_match[0], gameInfo.white) == star_match[0] || StrStr(star_match[0], gameInfo.black) == star_match[0] )) { // kibitz of self or opponent suppressKibitz = TRUE; -- 1.7.0.4