diff options
| author | Mario Lang <mlang@delysid.org> | 2004-01-11 16:30:24 +0000 |
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2004-01-11 16:30:24 +0000 |
| commit | e83c64f0ac477a94173ba1e4c74fc44af72739a3 (patch) | |
| tree | 73395ae35c966f513e2e75d6f5a20b908b4adcfc | |
| parent | 8acaeea2e4f683c0aefa3c512567369f0de9b7dd (diff) | |
In chess-engine-default-handler, when 'match is accepted, we were
calling (chess-engine-command nil 'accept chess-full-name)
which doesnt make much sense, and breaks chess-ics game accepting.
change it to `name', to pass the opponent name for whom we are accepting
a match request.
| -rw-r--r-- | chess-engine.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el index f3c2f30..9d84dfa 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -128,7 +128,7 @@ (setq chess-engine-opponent-name (or name "Anonymous")) (let ((chess-engine-handling-event t)) (chess-engine-set-position nil)) - (chess-engine-command nil 'accept chess-full-name)) + (chess-engine-command nil 'accept name)) (chess-engine-command nil 'decline)))) t) |
