diff options
| author | Miciah Masters | 2017-12-10 20:14:09 -0500 |
|---|---|---|
| committer | Noam Postavsky | 2018-07-10 23:10:53 -0400 |
| commit | ef9025f5bcfb996fbabf5869584e9143bbc81af4 (patch) | |
| tree | 2364efccab079c0d58ff658ab97ca3a5748ef65d | |
| parent | db3874b16192142f473d53e3b80213ad74d19eff (diff) | |
| download | emacs-ef9025f5bcfb996fbabf5869584e9143bbc81af4.tar.gz emacs-ef9025f5bcfb996fbabf5869584e9143bbc81af4.zip | |
Save the server alias on reconnect (Bug#29657)
rcirc does not retain the server alias on reconnect. As a result, rcirc
fails to re-use server and channel buffers when an alias is used. Further
problems may ensue when aliases are used to differentiate multiple
connections to the same host, for example when using a single IRC bouncer
or proxy to connect to multiple IRC networks.
Save the server alias when connecting to a server so that reconnect will
retain the alias.
* lisp/net/rcirc.el (rcirc-connect): Include server-alias when setting
rcirc-connection-info.
Copyright-paperwork-exempt: yes
| -rw-r--r-- | lisp/net/rcirc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 5acbec7dcb4..c09bff765b2 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -585,7 +585,7 @@ If ARG is non-nil, instead prompt for connection parameters." | |||
| 585 | 585 | ||
| 586 | (setq-local rcirc-connection-info | 586 | (setq-local rcirc-connection-info |
| 587 | (list server port nick user-name full-name startup-channels | 587 | (list server port nick user-name full-name startup-channels |
| 588 | password encryption)) | 588 | password encryption server-alias)) |
| 589 | (setq-local rcirc-process process) | 589 | (setq-local rcirc-process process) |
| 590 | (setq-local rcirc-server server) | 590 | (setq-local rcirc-server server) |
| 591 | (setq-local rcirc-server-name | 591 | (setq-local rcirc-server-name |