[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22380: [PATCH v1] erc: Don't raise an error for unknown user modes
From: |
David Edmondson |
Subject: |
bug#22380: [PATCH v1] erc: Don't raise an error for unknown user modes |
Date: |
Wed, 20 Jan 2016 10:55:06 +0000 |
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