* gnus-srvr.el: Avoid passing nil regexp argument to delete-matching-lines.
authorDan Davison <dandavison7@gmail.com>
Thu, 16 Dec 2010 19:46:31 +0000 (20:46 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 16 Dec 2010 19:46:31 +0000 (20:46 +0100)
lisp/ChangeLog
lisp/gnus-srvr.el

index e1f0719..ff56624 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-16  Dan Davison  <dandavison7@gmail.com>  (tiny change)
+
+       * gnus-srvr.el: Avoid passing nil regexp argument to
+       delete-matching-lines.
+
 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML
index 2ace2b3..acca565 100644 (file)
@@ -766,7 +766,8 @@ claim them."
       (with-current-buffer nntp-server-buffer
        (let ((cur (current-buffer)))
          (goto-char (point-min))
-         (unless (string= gnus-ignored-newsgroups "")
+         (unless (or (null gnus-ignored-newsgroups)
+                     (string= gnus-ignored-newsgroups ""))
            (delete-matching-lines gnus-ignored-newsgroups))
          ;; We treat NNTP as a special case to avoid problems with
          ;; garbage group names like `"foo' that appear in some badly