summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-backend.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2015-12-28 20:52:41 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2015-12-28 20:52:41 +0100
commitd686802510c3902f6be4a4c4e82b1134d9dfb8a0 (patch)
treeb34a511ae50a2755a75084f5619e3a780d0b00fa /lisp/erc/erc-backend.el
parent0e99ccb32119882af50b37264cd4662db14b1e03 (diff)
downloademacs-d686802510c3902f6be4a4c4e82b1134d9dfb8a0.tar.gz
Reconnect erc even on server errors
* lisp/erc/erc-backend.el (erc-server-reconnect-p): Try to reconnect even if a server error has occurred (bug#18527).
Diffstat (limited to 'lisp/erc/erc-backend.el')
-rw-r--r--lisp/erc/erc-backend.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el
index cab0fb9d537..1ef2fac1627 100644
--- a/lisp/erc/erc-backend.el
+++ b/lisp/erc/erc-backend.el
@@ -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)