From: H.G. Muller Date: Thu, 25 Feb 2010 19:29:45 +0000 (+0100) Subject: Also capture (numeric) whispers of players for -autoKibitz X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=dbc7ef670385afc6ff41681c02f2e1b683f6ab24;p=xboard.git Also capture (numeric) whispers of players for -autoKibitz --- 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;