Make erc work better when encountering unknown prefix chars

* lisp/erc/erc.el (erc-channel-receive-names): Output a warning
instead of erroring out on unknown prefix chars (bug#22380).
This commit is contained in:
David Edmondson 2016-02-04 16:52:01 +11:00 committed by Lars Ingebrigtsen
parent b99141da55
commit ee7399792f

View file

@ -4832,7 +4832,7 @@ channel."
((pred (eq op-ch)) op)
((pred (eq adm-ch)) admin)
((pred (eq own-ch)) owner)
(_ (error "Unknown prefix char `%S'" ch) voice))
(_ (message "Unknown prefix char `%S'" ch) voice))
'on)))
(when updatep
;; If we didn't issue the NAMES request (consider two clients