eschulte pushed a commit to branch go
in repository elpa.

commit ea18111c0e696b0475253ea7db279cc92f9b8bb0
Author: Eric Schulte <[email protected]>
Date:   Thu Aug 8 11:58:23 2013 -0600

    igs TODO: consistent game un-observation
---
 back-ends/igs.el |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/back-ends/igs.el b/back-ends/igs.el
index 619d9ab..b149d11 100644
--- a/back-ends/igs.el
+++ b/back-ends/igs.el
@@ -484,8 +484,11 @@ This is used to re-send messages to keep the IGS server 
from timing out.")
 (defmethod go-quit ((igs igs))
   (with-igs igs
     (if (number igs)
-        (progn (igs-send (format "observe %d" (number igs)))
-               (setf (number igs) nil))
+        (progn
+          ;; TOOD: ensure still on our server-side observation list
+          ;;       (e.g., hasn't been removed after a resignation)
+          (igs-send (format "observe %d" (number igs)))
+          (setf (number igs) nil))
       (igs-send "quit"))))
 
 (defmethod go-score ((igs igs))

Reply via email to