Also capture (numeric) whispers of players for -autoKibitz
authorH.G. Muller <h.g.muller@hccnet.nl>
Thu, 25 Feb 2010 19:29:45 +0000 (20:29 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Thu, 25 Feb 2010 19:29:45 +0000 (20:29 +0100)
backend.c

index f235584..9083ba9 100644 (file)
--- 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;