projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8c94a89
)
Try to not confuse ICS rating adustments as shouts
author
H.G. Muller
<h.g.muller@hccnet.nl>
Wed, 28 Dec 2011 21:32:38 +0000 (22:32 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Wed, 28 Dec 2011 21:32:38 +0000 (22:32 +0100)
An explicit pattern match for the rating adjustment is added before
matching the shouts.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
2925088
..
ffb0823
100644
(file)
--- 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:") ||