From 126c060732ba402a0d547229de7b91b06480e871 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Fri, 1 Oct 2010 13:06:53 -0600 Subject: [PATCH] Update rcirc-channel-p to RFC 2811 --- rcirc.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rcirc.el b/rcirc.el index c6b86a4..6412528 100644 --- a/rcirc.el +++ b/rcirc.el @@ -1031,8 +1031,7 @@ If ALL is non-nil, update prompts in all IRC buffers." "Return t if TARGET is a channel name." (and target (not (zerop (length target))) - (or (eq (aref target 0) ?#) - (eq (aref target 0) ?&)))) + (or (member (aref target 0) '(?# ?& ?+ ?!))))) (defun rcirc-kill-buffer-hook () "Part the channel when killing an rcirc buffer."