summaryrefslogtreecommitdiff
path: root/chess-engine.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-engine.el')
-rw-r--r--chess-engine.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el
index 5c556aa..6c5df34 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -77,7 +77,8 @@
(message "Your opponent has passed the first move to you"))
((eq event 'connect)
- (message "Your opponent, %s, is now ready to play" (car args)))
+ (message "Your opponent, %s, is now ready to play" (car args))
+ (chess-engine-send nil "name %s\n" (user-full-name)))
((eq event 'quit)
(message "Your opponent has quit playing"))