This commit is contained in:
Valery Yatsko 2008-04-06 18:52:42 +04:00
parent 715ffadfd9
commit c6d7203732
27 changed files with 1055 additions and 595 deletions

View file

@ -97,6 +97,14 @@ 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;
}
/*
* Get port number from user, if given. If not specified,
* use the default form configuration structure. If missing
@ -191,6 +199,14 @@ 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;
}
/*
* Get port number from user, if given. If not specified,
* use the default form configuration structure. If missing