From: ueno Date: Wed, 11 Jun 2003 02:22:53 +0000 (+0000) Subject: Fixed. X-Git-Tag: strict-naming-mergepoint~22 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7efa8d772ac7324fb31b1b14c54d4720904a5fea;p=elisp%2Friece.git Fixed. --- 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))