X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fssl.h;h=e66e423aabd52d2c245a8e3210af91c9132394eb;hb=f5c631ef8641db6455bed23c02e5a39f63f7d6d0;hp=5b1f03627f631f19d3ec6731d3ef3865f8f2bddd;hpb=7cf132bc6a8251ad2d7ee73cdf5f019fe18d11a0;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/ssl.h b/src/modules/ssl.h index 5b1f03627..e66e423aa 100644 --- a/src/modules/ssl.h +++ b/src/modules/ssl.h @@ -131,8 +131,8 @@ struct SocketCertificateRequest : public Request StreamSocket* const sock; ssl_cert* cert; - SocketCertificateRequest(StreamSocket* ss, Module* Me, Module* hook) - : Request(Me, hook, "GET_SSL_CERT"), sock(ss), cert(NULL) + SocketCertificateRequest(StreamSocket* ss, Module* Me) + : Request(Me, ss->GetIOHook(), "GET_SSL_CERT"), sock(ss), cert(NULL) { Send(); } @@ -165,15 +165,4 @@ struct UserCertificateRequest : public Request } }; -struct SSLCertSubmission : public Request -{ - Extensible* const item; - ssl_cert* const cert; - SSLCertSubmission(Extensible* is, Module* Me, Module* Target, ssl_cert* Cert) - : Request(Me, Target, "SET_CERT"), item(is), cert(Cert) - { - Send(); - } -}; - #endif