]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_user.c
Pass certfp to other servers and show it in whois. Do not show it on connect.
[irc/rqf/shadowircd.git] / src / s_user.c
index 7d7bc1b94cc8af544c7754d7ceef750f6a5ecd97..b774e901964cb465beefb92755162e7768ae0e10 100644 (file)
@@ -633,6 +633,11 @@ introduce_client(struct Client *client_p, struct Client *source_p, struct User *
                      IsIPSpoof(source_p) ? "0" : sockhost,
                      source_p->id, source_p->info);
 
+       if(!EmptyString(source_p->certfp))
+               sendto_server(client_p, NULL, CAP_TS6, NOCAPS,
+                               ":%s ENCAP * CERTFP :%s",
+                               use_id(source_p), source_p->certfp);
+
        if (IsDynSpoof(source_p))
        {
                sendto_server(client_p, NULL, CAP_TS6, use_euid ? CAP_EUID : NOCAPS, ":%s ENCAP * REALHOST %s",