summaryrefslogtreecommitdiff
path: root/chess-ics.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-ics.el')
-rw-r--r--chess-ics.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-ics.el b/chess-ics.el
index 413dd6c..92fa885 100644
--- a/chess-ics.el
+++ b/chess-ics.el
@@ -409,7 +409,7 @@ See `chess-ics-game'.")
(defun chess-ics-game (game-number &rest tags)
"Either create, or retrieve an existing game object with GAME-NUMBER."
(assert (integerp game-number))
- (assert (or (evenp (length tags)) (eq (car tags) t)))
+ (assert (or (zerop (logand (length tags) 1)) (eq (car tags) t)))
(or
;; First try to find a game which matches the constraints in TAGS
(catch 'ics-game