]> git.eshelyaron.com Git - emacs.git/commitdiff
Make erc work better when encountering unknown prefix chars
authorDavid Edmondson <dme@dme.org>
Thu, 4 Feb 2016 05:52:01 +0000 (16:52 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Feb 2016 07:04:07 +0000 (18:04 +1100)
* lisp/erc/erc.el (erc-channel-receive-names): Output a warning
instead of erroring out on unknown prefix chars (bug#22380).

lisp/erc/erc.el

index 7b734460a3c51f69521de60f7a366b3f4af7960f..ef3a6b3b3cabc7ca9baeb8c830b7b8772a3a44e9 100644 (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