summaryrefslogtreecommitdiff
path: root/chess-phalanx.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-phalanx.el')
-rw-r--r--chess-phalanx.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-phalanx.el b/chess-phalanx.el
index 2cabeb3..270376d 100644
--- a/chess-phalanx.el
+++ b/chess-phalanx.el
@@ -22,11 +22,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:\\s-*\\(.*\\)"
(function
(lambda ()
- (signal 'chess-illegal (match-string 1)))))))
+ (error (match-string 1)))))))
(defun chess-phalanx-handler (event &rest args)
(cond