]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_ssl_mbedtls.cpp
Improve the header messages of the filter and permchannels modules.
[user/henk/code/inspircd.git] / src / modules / extra / m_ssl_mbedtls.cpp
index 9c2a535ae0c5da095ba18279ce1ea1161cd969d4..77c81b7fa57038c278cc794085d9c01f6adceb11 100644 (file)
@@ -817,13 +817,13 @@ class mbedTLSIOHook : public SSLIOHook
        bool IsHandshakeDone() const { return (status == ISSL_HANDSHAKEN); }
 };
 
-class mbedTLSIOHookProvider : public IOHookProvider
+class mbedTLSIOHookProvider : public SSLIOHookProvider
 {
        mbedTLS::Profile profile;
 
  public:
        mbedTLSIOHookProvider(Module* mod, mbedTLS::Profile::Config& config)
-               : IOHookProvider(mod, "ssl/" + config.name, IOHookProvider::IOH_SSL)
+               : SSLIOHookProvider(mod, config.name)
                , profile(config)
        {
                ServerInstance->Modules->AddService(*this);