]> 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:00:50 +0000 (18:00 +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 56317b83a98a2cba231bcb118f014a6e243e8b4c..b7f40a878a91b3c2de59d867563117fd79b404dc 100644 (file)
@@ -4830,7 +4830,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