X-Git-Url: https://cgit.sxemacs.org/?p=riece;a=blobdiff_plain;f=lisp%2Friece-commands.el;h=d8319f26589d7914aa7293affda3d57265689640;hp=a1e2229c78591db4000bed724bfbed7acc52b394;hb=fe0b24ee8ff72ec70f44d4b435506987701f3a0c;hpb=ecc2f6eb8c0d29971d40f2fbb912bd2f3123478d diff --git a/lisp/riece-commands.el b/lisp/riece-commands.el index a1e2229..d8319f2 100644 --- a/lisp/riece-commands.el +++ b/lisp/riece-commands.el @@ -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)))