summaryrefslogtreecommitdiff
path: root/src/modules/ssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/ssl.h')
-rw-r--r--src/modules/ssl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/ssl.h b/src/modules/ssl.h
index 5b1f03627..2d0a2b1ee 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();
}