X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=zippy.c;h=ef1b5052e9e5e13d6690ed9dfb184e0fea2bc7f6;hb=c551a728b8fa7649b043fffb32b7f1d11c67b38a;hp=9df805adc970d6a654524554d98c07e2d14c6aeb;hpb=32d6537664a734207772608507882f5a682a2c0a;p=xboard.git diff --git a/zippy.c b/zippy.c index 9df805a..ef1b505 100644 --- a/zippy.c +++ b/zippy.c @@ -931,20 +931,13 @@ int ZippyMatch(buf, i) } - if (ics_type == ICS_ICC) { // [DM] - if (looking_at(buf, i, "Your opponent offers you a draw")) { - if (first.sendDrawOffers && first.initDone) - SendToProgram("draw\n", &first); - return TRUE; - } - } else { - if (looking_at(buf, i, "offers you a draw")) { + if (looking_at(buf, i, "Your opponent offers you a draw") || + looking_at(buf, i, "* offers you a draw")) { if (first.sendDrawOffers && first.initDone) { SendToProgram("draw\n", &first); } return TRUE; } - } if (looking_at(buf, i, "requests that the game be aborted") || looking_at(buf, i, "would like to abort")) {