From: David Edmondson <dme@dme.org>
To: 22380@debbugs.gnu.org
Subject: bug#22380: [PATCH v1] erc: Don't raise an error for unknown user modes
Date: Wed, 20 Jan 2016 10:55:06 +0000 [thread overview]
Message-ID: <1453287306-68145-1-git-send-email-dme@dme.org> (raw)
In-Reply-To: <m260yupz3k.fsf@heart-of-gold.hh.sledj.net>
If a user has a mode which is unknown, emit a message rather than
raising an error.
---
lisp/erc/erc.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 56317b8..b7f40a8 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -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
--
2.6.3
next prev parent reply other threads:[~2016-01-20 10:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-15 16:49 bug#22380: 24.5; erc doesn't handle the ! prefix David Edmondson
2016-01-20 10:55 ` David Edmondson [this message]
2016-01-20 10:56 ` bug#22380: [PATCH v1] erc: Don't raise an error for unknown user modes David Edmondson
2016-02-04 5:52 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1453287306-68145-1-git-send-email-dme@dme.org \
--to=dme@dme.org \
--cc=22380@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.