From 024906dbcdfd1e48898167695712a6c9e0fc7e9a Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 24 Jun 2014 12:21:31 +0200 Subject: Change allocation of InspIRCd::Users to be physically part of the object containing it using fakederef --- src/inspircd.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index d873916f4..cad322e34 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -124,7 +124,6 @@ void InspIRCd::Cleanup() FakeClient->cull(); } DeleteZero(this->FakeClient); - DeleteZero(this->Users); DeleteZero(this->XLines); DeleteZero(this->Config); SocketEngine::Deinit(); @@ -247,7 +246,6 @@ InspIRCd::InspIRCd(int argc, char** argv) : do_nolog = 0, do_root = 0; // Initialize so that if we exit before proper initialization they're not deleted - this->Users = 0; this->Config = 0; this->XLines = 0; this->ConfigThread = NULL; @@ -258,9 +256,6 @@ InspIRCd::InspIRCd(int argc, char** argv) : SocketEngine::Init(); - // Create base manager classes early, so nothing breaks - this->Users = new UserManager; - this->Config = new ServerConfig; dynamic_reference_base::reset_all(); this->XLines = new XLineManager; -- cgit v1.3.1-10-gc9f91