]> git.eshelyaron.com Git - emacs.git/commitdiff
Reconnect erc even on server errors
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 28 Dec 2015 19:52:41 +0000 (20:52 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 28 Dec 2015 19:52:41 +0000 (20:52 +0100)
* lisp/erc/erc-backend.el (erc-server-reconnect-p): Try to
reconnect even if a server error has occurred (bug#18527).

lisp/erc/erc-backend.el

index cab0fb9d537fb6aba392c7465db4ed698357c79f..1ef2fac1627a6057d627e278d77c7e52dc662406 100644 (file)
@@ -609,7 +609,6 @@ EVENT is the message received from the closed connection process."
            ;; otherwise go through the full spectrum of checks:
            (and erc-server-auto-reconnect
                 (not erc-server-banned)
-                (not erc-server-error-occurred)
                 ;; make sure we don't infinitely try to reconnect, unless the
                 ;; user wants that
                 (or (eq erc-server-reconnect-attempts t)