From 7efa8d772ac7324fb31b1b14c54d4720904a5fea Mon Sep 17 00:00:00 2001 From: ueno Date: Wed, 11 Jun 2003 02:22:53 +0000 Subject: [PATCH] Fixed. --- lisp/riece-identity.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/riece-identity.el b/lisp/riece-identity.el index 672d1b0..9ec6475 100644 --- a/lisp/riece-identity.el +++ b/lisp/riece-identity.el @@ -167,9 +167,9 @@ take server names into account." (encoded (riece-encode-identity decoded))) (if (and (not (string-match "[ ,]" decoded)) - (string-match "[ ,]" encoded) + (string-match "[ ,]" (riece-identity-prefix encoded)) (not (y-or-n-p (format "The encoded channel name contains illegal character \"%s\". continue? " - (match-string 0 encoded))))) + (match-string 0 (riece-identity-prefix encoded)))))) (error "Invalid channel name!")) encoded)) -- 1.7.10.4