aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Edmondson2015-12-27 21:33:01 +0100
committerLars Ingebrigtsen2015-12-27 21:33:01 +0100
commit507e98a54d1aa37823c64993d6b59257a82fe8f4 (patch)
tree8dc67cbbb7b6ad08cf477a18c1fcbee417e17061
parent3603097f62f5f4aa5451716e9ac380161f6829e2 (diff)
downloademacs-507e98a54d1aa37823c64993d6b59257a82fe8f4.tar.gz
emacs-507e98a54d1aa37823c64993d6b59257a82fe8f4.zip
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).
-rw-r--r--lisp/erc/erc.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index cd8c8a817e1..126cac68a7b 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -4826,6 +4826,11 @@ channel."
4826 (_ (error "Unknown prefix char `%S'" ch) voice)) 4826 (_ (error "Unknown prefix char `%S'" ch) voice))
4827 'on))) 4827 'on)))
4828 (when updatep 4828 (when updatep
4829 ;; If we didn't issue the NAMES request (consider two clients
4830 ;; talking to an IRC proxy), `erc-channel-begin-receiving-names'
4831 ;; will not have been called, so we have to do it here.
4832 (unless erc-channel-new-member-names
4833 (erc-channel-begin-receiving-names))
4829 (puthash (erc-downcase name) t 4834 (puthash (erc-downcase name) t
4830 erc-channel-new-member-names) 4835 erc-channel-new-member-names)
4831 (erc-update-current-channel-member 4836 (erc-update-current-channel-member