Use gnus-server-equal to find out whether methods are equal.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 21 Sep 2010 18:55:19 +0000 (20:55 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 21 Sep 2010 18:55:19 +0000 (20:55 +0200)
lisp/ChangeLog
lisp/gnus-sum.el

index 92ee1d9..5130186 100644 (file)
@@ -1,5 +1,8 @@
 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to
+       find out whether methods are equal.
+
        * nnimap.el (nnimap-find-expired-articles): New function.
        (nnimap-process-expiry-targets): New function.
        (nnimap-request-move-article): Request the article before looking at
index 9be6667..047fa67 100644 (file)
@@ -9681,7 +9681,7 @@ ACTION can be either `move' (the default), `crosspost' or `copy'."
                              gnus-newsgroup-name))
                (to-method (or select-method
                               (gnus-find-method-for-group to-newsgroup)))
-               (move-is-internal (gnus-method-equal from-method to-method)))
+               (move-is-internal (gnus-server-equal from-method to-method)))
           (gnus-request-move-article
            article                     ; Article to move
            gnus-newsgroup-name         ; From newsgroup