nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
[gnus] / lisp / nnir.el
index f2348bf..4c01b47 100644 (file)
@@ -1543,7 +1543,8 @@ server is of form 'backend:name'."
       (let ((cur (current-buffer))
            name)
        (goto-char (point-min))
-       (unless (string= nnir-ignored-newsgroups "")
+       (unless (or (null nnir-ignored-newsgroups)
+                   (string= nnir-ignored-newsgroups ""))
          (delete-matching-lines nnir-ignored-newsgroups))
        (if (eq (car method) 'nntp)
            (while (not (eobp))