summaryrefslogtreecommitdiff
path: root/chess-irc.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-irc.el')
-rw-r--r--chess-irc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-irc.el b/chess-irc.el
index 11cbf75..1588b22 100644
--- a/chess-irc.el
+++ b/chess-irc.el
@@ -70,8 +70,8 @@
nil)
((eq event 'match)
- (setq chess-irc-opponent (car args))
- (chess-network-handler 'match (car args)))
+ (setq chess-irc-opponent (read-string "IRC nick of user to challenge: "))
+ (chess-network-handler 'match chess-irc-opponent))
((eq event 'shutdown)
(chess-engine-send nil "quit")