aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2015-12-28 20:52:41 +0100
committerLars Ingebrigtsen2015-12-28 20:52:41 +0100
commitd686802510c3902f6be4a4c4e82b1134d9dfb8a0 (patch)
treeb34a511ae50a2755a75084f5619e3a780d0b00fa
parent0e99ccb32119882af50b37264cd4662db14b1e03 (diff)
downloademacs-d686802510c3902f6be4a4c4e82b1134d9dfb8a0.tar.gz
emacs-d686802510c3902f6be4a4c4e82b1134d9dfb8a0.zip
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).
-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."
609 ;; otherwise go through the full spectrum of checks: 609 ;; otherwise go through the full spectrum of checks:
610 (and erc-server-auto-reconnect 610 (and erc-server-auto-reconnect
611 (not erc-server-banned) 611 (not erc-server-banned)
612 (not erc-server-error-occurred)
613 ;; make sure we don't infinitely try to reconnect, unless the 612 ;; make sure we don't infinitely try to reconnect, unless the
614 ;; user wants that 613 ;; user wants that
615 (or (eq erc-server-reconnect-attempts t) 614 (or (eq erc-server-reconnect-attempts t)