diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 2 | ||||
-rw-r--r-- | include/modules.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 91aba7862..e63092f23 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -367,7 +367,7 @@ class CoreExport InspIRCd /** ModuleManager contains everything related to loading/unloading * modules. */ - ModuleManager* Modules; + ModuleManager Modules; /** BanCacheManager is used to speed up checking of restrictions on connection * to the IRCd. diff --git a/include/modules.h b/include/modules.h index 0f8c25691..4f363b2a6 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1078,7 +1078,7 @@ typedef IntModuleList::iterator EventHandlerIter; /** ModuleManager takes care of all things module-related * in the core. */ -class CoreExport ModuleManager +class CoreExport ModuleManager : public fakederef<ModuleManager> { public: typedef std::vector<ServiceProvider*> ServiceList; |