* riece-commands.el (riece-command-join): Extract target
authorDaiki Ueno <ueno@unixuser.org>
Tue, 2 Sep 2003 03:34:04 +0000 (03:34 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Tue, 2 Sep 2003 03:34:04 +0000 (03:34 +0000)
identity-prefix before applying riece-channel-p.

lisp/ChangeLog
lisp/riece-commands.el

index af42fd2..e07ee17 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-02  Daiki Ueno  <ueno@unixuser.org>
+
+       * riece-commands.el (riece-command-join): Extract target
+       identity-prefix before applying riece-channel-p.
+
 2003-08-30  Daiki Ueno  <ueno@unixuser.org>
 
        * Riece: Version 0.1.1 released.
index a1e2229..d8319f2 100644 (file)
@@ -425,7 +425,7 @@ the layout to the selected layout-name."
            "Channel/User: " riece-current-channels))
          key)
      (if (and current-prefix-arg
-             (riece-channel-p target))
+             (riece-channel-p (riece-identity-prefix target)))
         (setq key
               (riece-read-passwd (format "Key for %s: " target))))
      (list target key)))