diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-06-24 12:21:31 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-06-24 12:21:31 +0200 |
commit | 024906dbcdfd1e48898167695712a6c9e0fc7e9a (patch) | |
tree | bac767b0209372b405b63a58368f9df327621f09 /src | |
parent | 86092ec5919a5b08391ea7291b9338b3745b6e0a (diff) |
Change allocation of InspIRCd::Users to be physically part of the object containing it using fakederef
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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; |