X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fiohook.h;h=9ca17d77e46bdcdf6aef38e081abc0f9cd7adf29;hb=e6db1df5a657ea0603e1ec0b1ea9b056264d470f;hp=e99316b99dc1110c02183649a69abb653e50e988;hpb=5267fb9d362aeb326c9e64f7171c957f76776f90;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/iohook.h b/include/iohook.h index e99316b99..9ca17d77e 100644 --- a/include/iohook.h +++ b/include/iohook.h @@ -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 prov; /** Constructor * @param provider IOHookProvider that creates this object