summaryrefslogtreecommitdiff
path: root/chess-network.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-network.el')
-rw-r--r--chess-network.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-network.el b/chess-network.el
index a277423..237ba43 100644
--- a/chess-network.el
+++ b/chess-network.el
@@ -85,7 +85,7 @@
(read-string "Port: "))))
(if (eq which ?s)
(message "Now waiting for your opponent to connect...")
- (process-send-string proc (format "chess match %s\n" chess-full-name))
+ (chess-network-handler 'match)
(message "You have connected; pass now or make your move."))
proc))