X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Fsilc%2Fcore%2Fclient_ops.c;fp=apps%2Firssi%2Fsrc%2Fsilc%2Fcore%2Fclient_ops.c;h=a87eff9f02c1cbc9ff2d074599f1dfa582a81d45;hb=725af813951d3c77b38c52ff02bf43bf892370ea;hp=af27ee566bbeb742553e1f7c9ed5647a0260c8cd;hpb=1ea34b3821a3590c5402a55b4e4e69924db734e7;p=silc.git diff --git a/apps/irssi/src/silc/core/client_ops.c b/apps/irssi/src/silc/core/client_ops.c index af27ee56..a87eff9f 100644 --- a/apps/irssi/src/silc/core/client_ops.c +++ b/apps/irssi/src/silc/core/client_ops.c @@ -1434,15 +1434,8 @@ void silc_getkey_cb(SilcBool success, void *context) silc_pubkey = silc_pkcs_get_context(SILC_PKCS_SILC, public_key); if (success) { - if (getkey->id_type == SILC_ID_CLIENT) - printformat_module("fe-common/silc", NULL, NULL, - MSGLEVEL_CRAP, SILCTXT_PUBKEY_VERIFIED_CLIENT, - name, - silc_pubkey->identifier.realname ? - silc_pubkey->identifier.realname : "", - silc_pubkey->identifier.email ? - silc_pubkey->identifier.email : ""); - else + /* Client's verification notice was showed in verify_internal() */ + if (getkey->id_type != SILC_ID_CLIENT) printformat_module("fe-common/silc", NULL, NULL, MSGLEVEL_CRAP, SILCTXT_PUBKEY_VERIFIED, entity, name);