]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/iohook.h
Unite SSL service providers and SSL profile classes
[user/henk/code/inspircd.git] / include / iohook.h
index e99316b99dc1110c02183649a69abb653e50e988..9ca17d77e46bdcdf6aef38e081abc0f9cd7adf29 100644 (file)
@@ -21,7 +21,7 @@
 
 class StreamSocket;
 
-class IOHookProvider : public ServiceProvider
+class IOHookProvider : public refcountbase, public ServiceProvider
 {
        const bool middlehook;
 
@@ -69,7 +69,7 @@ class IOHook : public classbase
        /** The IOHookProvider for this hook, contains information about the hook,
         * such as the module providing it and the hook type.
         */
-       IOHookProvider* const prov;
+       reference<IOHookProvider> prov;
 
        /** Constructor
         * @param provider IOHookProvider that creates this object