projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added ssl cipher notice on connect
[ircu2.10.12-pk.git]
/
ircd
/
s_user.c
diff --git
a/ircd/s_user.c
b/ircd/s_user.c
index 632e185b5348bfa146b473cf193342ff7743f448..9853ed237b74e818dfa53267eaaf08767595e065 100644
(file)
--- 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 {