1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 04:23:13 +02:00

Fix possible crash in /STATS due to change from yesterday.

Other than that, some minor style and real things.
This commit is contained in:
Bram Matthys
2017-09-02 08:27:55 +02:00
parent 3ade6c7ecb
commit 0da1fdb2d2
4 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ skip_host_check:
/* Verify the SSL certificate (if requested) */
if (link->verify_certificate)
{
char *errstr;
char *errstr = NULL;
if (!IsSSL(cptr))
{
+1 -1
View File
@@ -1224,7 +1224,7 @@ int stats_set(aClient *sptr, char *para)
sptr->name, SafePrint(iConf.ssl_options->key_file));
sendto_one(sptr, ":%s %i %s :ssl::trusted-ca-file: %s", me.name, RPL_TEXT,
sptr->name, SafePrint(iConf.ssl_options->trusted_ca_file));
sendto_one(sptr, ":%s %i %s :ssl::options: %s %s", me.name, RPL_TEXT, sptr->name,
sendto_one(sptr, ":%s %i %s :ssl::options: %s", me.name, RPL_TEXT, sptr->name,
iConf.ssl_options->options & SSLFLAG_FAILIFNOCERT ? "FAILIFNOCERT" : "");
sendto_one(sptr, ":%s %i %s :options::show-opermotd: %d", me.name, RPL_TEXT,
sptr->name, SHOWOPERMOTD);