Fix last change.
authorbg66 <bg66>
Tue, 17 Jun 2003 04:57:23 +0000 (04:57 +0000)
committerbg66 <bg66>
Tue, 17 Jun 2003 04:57:23 +0000 (04:57 +0000)
lisp/riece-unread.el

index 2d1e7f3..af09f29 100644 (file)
@@ -37,9 +37,9 @@
 
 (defun riece-unread-display-message-function (message)
   (unless (or (riece-message-own-p message)
-             (equal (riece-message-target message) riece-current-channel)
-             (eq (window-buffer (selected-window))
-                 (get-buffer riece-command-buffer)))
+             (and (equal (riece-message-target message) riece-current-channel)
+                  (eq (window-buffer (selected-window))
+                      (get-buffer riece-command-buffer))))
     (setq riece-unread-channels
          (delete (riece-message-target message) riece-unread-channels))
     (add-to-list 'riece-unread-channels