X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fs_user.c;fp=ircd%2Fs_user.c;h=9853ed237b74e818dfa53267eaaf08767595e065;hp=632e185b5348bfa146b473cf193342ff7743f448;hb=99ba4795414c55c34fb778da3b3b0563170212a5;hpb=3e86180fb32d5eab15c761b75ba3d4520ef23bac diff --git a/ircd/s_user.c b/ircd/s_user.c index 632e185..9853ed2 100644 --- a/ircd/s_user.c +++ b/ircd/s_user.c @@ -399,6 +399,9 @@ int register_user(struct Client *cptr, struct Client *sptr) if(cli_connect(sptr)->con_ssl) { SetSSLConn(sptr); + + const char *cipher = ssl_get_cipher(cli_connect(sptr)->con_ssl); + sendcmdto_one(&me, CMD_NOTICE, sptr, "%C :You are connected to %s with %s", sptr, cli_name(&me), cipher); } } else {