From a2d98e383458efee93c255e7391d4047681024a8 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 28 Dec 2011 22:32:38 +0100 Subject: [PATCH] Try to not confuse ICS rating adustments as shouts An explicit pattern match for the rating adjustment is added before matching the shouts. --- backend.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/backend.c b/backend.c index 2925088..ffb0823 100644 --- a/backend.c +++ b/backend.c @@ -3126,6 +3126,8 @@ read_from_ics(isr, closure, data, count, error) } } // [HGM] kibitz: end of patch + if(looking_at(buf, &i, "* rating adjustment: * --> *\n")) continue; + // [HGM] chat: intercept tells by users for which we have an open chat window channel = -1; if(started == STARTED_NONE && (looking_at(buf, &i, "* tells you:") || looking_at(buf, &i, "* says:") || -- 1.7.0.4