From 641b2d07ab6868a9fa6726c1bc36cde80005e155 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 Feb 2019 12:16:33 +0000 Subject: ModuleManager: remove fakederef. --- src/inspircd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index d94b4e3b7..3890a3f8f 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -103,7 +103,7 @@ void InspIRCd::Cleanup() ports.clear(); GlobalCulls.Apply(); - Modules->UnloadAll(); + Modules.UnloadAll(); /* Delete objects dynamically allocated in constructor (destructor would be more appropriate, but we're likely exiting) */ /* Must be deleted before modes as it decrements modelines */ @@ -438,7 +438,7 @@ InspIRCd::InspIRCd(int argc, char** argv) : std::cout << std::endl; - this->Modules->LoadAll(); + this->Modules.LoadAll(); // Build ISupport as ModuleManager::LoadAll() does not do it this->ISupport.Build(); -- cgit v1.3.1-10-gc9f91