X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/c6d7203732eda798315564a0f293f7fcc3d7a766..8e2ebdb80add54d46c9f7f058ad469d70ddf9457:/modules/m_connect.c diff --git a/modules/m_connect.c b/modules/m_connect.c index bd2b438e..deb83b8d 100644 --- a/modules/m_connect.c +++ b/modules/m_connect.c @@ -38,6 +38,7 @@ #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 **); @@ -97,12 +98,12 @@ mo_connect(struct Client *client_p, struct Client *source_p, int parc, const cha 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; + 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; } /* @@ -199,12 +200,12 @@ ms_connect(struct Client *client_p, struct Client *source_p, int parc, const cha 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; + 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; } /*