diff options
| author | Lars Ingebrigtsen | 2015-12-28 20:52:41 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2015-12-28 20:52:41 +0100 |
| commit | d686802510c3902f6be4a4c4e82b1134d9dfb8a0 (patch) | |
| tree | b34a511ae50a2755a75084f5619e3a780d0b00fa | |
| parent | 0e99ccb32119882af50b37264cd4662db14b1e03 (diff) | |
| download | emacs-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.el | 1 |
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) |