From da45f24ff1ab4fbac1b674c820796e9b3850a380 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 14 Mar 2014 12:59:19 +0100 Subject: Change allocation of InspIRCd::chanlist to be physically part of the object containing it --- src/inspircd.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 101df432f..50899435b 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -138,7 +138,6 @@ void InspIRCd::Cleanup() DeleteZero(this->BanCache); DeleteZero(this->SNO); DeleteZero(this->Config); - DeleteZero(this->chanlist); DeleteZero(this->PI); DeleteZero(this->Threads); DeleteZero(this->Timers); @@ -266,7 +265,6 @@ InspIRCd::InspIRCd(int argc, char** argv) : this->Threads = 0; this->PI = 0; this->Users = 0; - this->chanlist = 0; this->Config = 0; this->SNO = 0; this->BanCache = 0; @@ -295,8 +293,6 @@ InspIRCd::InspIRCd(int argc, char** argv) : // Create base manager classes early, so nothing breaks this->Users = new UserManager; - this->chanlist = new chan_hash(); - this->Config = new ServerConfig; this->SNO = new SnomaskManager; this->BanCache = new BanCacheManager; -- cgit v1.3.1-10-gc9f91