summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el
index ee5912b..8f08b3a 100644
--- a/chess-gnuchess.el
+++ b/chess-gnuchess.el
@@ -25,11 +25,11 @@
(function
(lambda ()
(funcall chess-engine-response-handler 'move
- (chess-engine-convert-algebraic (match-string 1))))))
+ (chess-engine-convert-algebraic (match-string 1) t)))))
(cons "Illegal move:"
(function
(lambda ()
- (signal 'chess-illegal "Illegal move"))))
+ (error "Illegal move"))))
(cons "Board is wrong!"
(function
(lambda ()