mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-01 20:06:00 +00:00
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).
This commit is contained in:
parent
0e99ccb321
commit
d686802510
@ -609,7 +609,6 @@ EVENT is the message received from the closed connection process."
|
|||||||
;; otherwise go through the full spectrum of checks:
|
;; otherwise go through the full spectrum of checks:
|
||||||
(and erc-server-auto-reconnect
|
(and erc-server-auto-reconnect
|
||||||
(not erc-server-banned)
|
(not erc-server-banned)
|
||||||
(not erc-server-error-occurred)
|
|
||||||
;; make sure we don't infinitely try to reconnect, unless the
|
;; make sure we don't infinitely try to reconnect, unless the
|
||||||
;; user wants that
|
;; user wants that
|
||||||
(or (eq erc-server-reconnect-attempts t)
|
(or (eq erc-server-reconnect-attempts t)
|
||||||
|
Loading…
Reference in New Issue
Block a user