diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-24 19:56:54 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-24 19:56:54 +0000 |
| commit | da58e86d8e2d128f0b2519b08593d79da83d0c73 (patch) | |
| tree | 8a8025b09f8324a07fe1261d029d777d377b97c3 /chess-ics.el | |
| parent | f996624fccdf03feb2a914f193659e99095f858d (diff) | |
*** no comment ***
Diffstat (limited to 'chess-ics.el')
| -rw-r--r-- | chess-ics.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chess-ics.el b/chess-ics.el index 39bae50..508c4fa 100644 --- a/chess-ics.el +++ b/chess-ics.el @@ -204,6 +204,11 @@ who is black." (funcall chess-engine-response-handler 'accept))))) (cons "<12> \\(.+\\)" 'chess-ics-handle-move) + (cons "Illegal move (\\([^)]+\\))\\." + (function + (lambda () + (funcall chess-engine-response-handler 'illegal + (match-string 1))))) (cons "Challenge: \\(\\S-+\\) \\S-+ \\S-+ \\S-+ .+" (function (lambda () |
