mirror of https://github.com/nealey/rcirc
Fixed the message when trying to reconnect to a connected server
The error happened because the connection wrapped with tls return t (it's a child, not a network process -- I guess) modified: rcirc.el
This commit is contained in:
parent
2146f06ca6
commit
2e98a6482a
7
rcirc.el
7
rcirc.el
|
@ -430,10 +430,11 @@ If ARG is non-nil, instead prompt for connection parameters."
|
||||||
connect-function)
|
connect-function)
|
||||||
(quit (message "Quit connecting to %s" server)))
|
(quit (message "Quit connecting to %s" server)))
|
||||||
(with-current-buffer (process-buffer connected)
|
(with-current-buffer (process-buffer connected)
|
||||||
|
(if (process-contact (get-buffer-process
|
||||||
|
(current-buffer)) :host)
|
||||||
(setq connected-servers
|
(setq connected-servers
|
||||||
(cons (process-contact (get-buffer-process
|
(cons (process-name connected)
|
||||||
(current-buffer)) :host)
|
connected-servers)))))))))
|
||||||
connected-servers))))))))
|
|
||||||
(when connected-servers
|
(when connected-servers
|
||||||
(message "Already connected to %s"
|
(message "Already connected to %s"
|
||||||
(if (cdr connected-servers)
|
(if (cdr connected-servers)
|
||||||
|
|
Loading…
Reference in New Issue