diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-06-05 14:43:34 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-06-05 17:47:57 +0100 |
commit | 980f27fc193666278b2f7eb4f63ca77e08615a90 (patch) | |
tree | 6863eefafd5ca2b0776a508f132c7d3c460b5393 /src/s_user.c | |
parent | 604c6f95a51c23ab77cc08f8c60c296af64bc7fd (diff) |
Add CERTFP capability
Avoid sending CERTFP commands to servers which do not support this
by adding a CERTFP capability.
Diffstat (limited to 'src/s_user.c')
-rw-r--r-- | src/s_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_user.c b/src/s_user.c index be041cf..b08d045 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -652,7 +652,7 @@ introduce_client(struct Client *source_p) source_p->servptr->name, source_p->info); } - if (!EmptyString(source_p->certfp)) + if (!EmptyString(source_p->certfp) && IsCapable(server, CAP_CERTFP)) sendto_one(server, ":%s CERTFP %s", ID(source_p), source_p->certfp); } } |