#include "numeric.h"
#include "s_conf.h"
#include "s_newconf.h"
-#include "s_log.h"
+#include "logger.h"
#include "s_serv.h"
#include "send.h"
#include "msg.h"
#include "parse.h"
#include "hash.h"
#include "modules.h"
+#include "sslproc.h"
static int mo_connect(struct Client *, struct Client *, int, const char **);
static int ms_connect(struct Client *, struct Client *, int, const char **);
return 0;
}
+ if(ServerConfSSL(server_p) && (!ssl_ok || !get_ssld_count()))
+ {
+ sendto_one_notice(source_p,
+ ":Connect: Server %s is set to use SSL/TLS but SSL/TLS is not configured.",
+ parv[1]);
+ return 0;
+ }
+
/*
* Get port number from user, if given. If not specified,
* use the default form configuration structure. If missing
return 0;
}
+ if(ServerConfSSL(server_p) && (!ssl_ok || !get_ssld_count()))
+ {
+ sendto_one_notice(source_p,
+ ":Connect: Server %s is set to use SSL/TLS but SSL/TLS is not configured.",
+ parv[1]);
+ return 0;
+ }
+
/*
* Get port number from user, if given. If not specified,
* use the default form configuration structure. If missing