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)
|
||||
(quit (message "Quit connecting to %s" server)))
|
||||
(with-current-buffer (process-buffer connected)
|
||||
(setq connected-servers
|
||||
(cons (process-contact (get-buffer-process
|
||||
(if (process-contact (get-buffer-process
|
||||
(current-buffer)) :host)
|
||||
connected-servers))))))))
|
||||
(setq connected-servers
|
||||
(cons (process-name connected)
|
||||
connected-servers)))))))))
|
||||
(when connected-servers
|
||||
(message "Already connected to %s"
|
||||
(if (cdr connected-servers)
|
||||
|
|
Loading…
Reference in New Issue