summaryrefslogtreecommitdiff
path: root/chess-network.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-network.el')
-rw-r--r--chess-network.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-network.el b/chess-network.el
index 18f1c58..143e758 100644
--- a/chess-network.el
+++ b/chess-network.el
@@ -127,7 +127,8 @@
(open-network-stream "*chess-network*" (current-buffer)
(read-string "Host: ")
(read-string "Port: "))))
- (setq chess-network-kind (if (eq which ?s) 'server 'client))
+ (setq chess-engine-process proc
+ chess-network-kind (if (eq which ?s) 'server 'client))
t))
((eq event 'ready) ; don't set active yet