mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Proxy error in erc with multiple clients
* lisp/erc/erc.el (erc-channel-receive-names): Fix errors
generated when multiple IRC clients talk to a single IRC proxy
(bug#19034).
Backport:
(cherry picked from commit 507e98a54d)
This commit is contained in:
parent
2cd894dc34
commit
af25edebbc
1 changed files with 5 additions and 0 deletions
|
|
@ -4826,6 +4826,11 @@ channel."
|
|||
(_ (error "Unknown prefix char `%S'" ch) voice))
|
||||
'on)))
|
||||
(when updatep
|
||||
;; If we didn't issue the NAMES request (consider two clients
|
||||
;; talking to an IRC proxy), `erc-channel-begin-receiving-names'
|
||||
;; will not have been called, so we have to do it here.
|
||||
(unless erc-channel-new-member-names
|
||||
(erc-channel-begin-receiving-names))
|
||||
(puthash (erc-downcase name) t
|
||||
erc-channel-new-member-names)
|
||||
(erc-update-current-channel-member
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue