]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
core_whowas Don't display used bytes in /STATS z
[user/henk/code/inspircd.git] / src / inspircd.cpp
index 6d072b0e547ef613bd0326e29dfab80befdb7253..cad322e3433dbb2859615cf04ec39583aa43c62b 100644 (file)
@@ -124,15 +124,10 @@ void InspIRCd::Cleanup()
                FakeClient->cull();
        }
        DeleteZero(this->FakeClient);
-       DeleteZero(this->Users);
-       DeleteZero(this->Modes);
        DeleteZero(this->XLines);
-       DeleteZero(this->Modules);
-       DeleteZero(this->SNO);
        DeleteZero(this->Config);
        SocketEngine::Deinit();
        Logs->CloseLogs();
-       DeleteZero(this->Logs);
 }
 
 void InspIRCd::SetSignals()
@@ -251,30 +246,17 @@ 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->Logs = 0;
-       this->Users = 0;
        this->Config = 0;
-       this->SNO = 0;
-       this->Modules = 0;
        this->XLines = 0;
-       this->Modes = 0;
        this->ConfigThread = NULL;
        this->FakeClient = NULL;
 
        UpdateTime();
        this->startup_time = TIME.tv_sec;
 
-       // This must be created first, so other parts of Insp can use it while starting up
-       this->Logs = new LogManager;
-
        SocketEngine::Init();
 
-       // Create base manager classes early, so nothing breaks
-       this->Users = new UserManager;
-
        this->Config = new ServerConfig;
-       this->SNO = new SnomaskManager;
-       this->Modules = new ModuleManager();
        dynamic_reference_base::reset_all();
        this->XLines = new XLineManager;
 
@@ -397,8 +379,6 @@ InspIRCd::InspIRCd(int argc, char** argv) :
        std::cout << "\tAttila" << con_reset << std::endl << std::endl;
        std::cout << "Others:\t\t\t" << con_green << "See /INFO Output" << con_reset << std::endl;
 
-       this->Modes = new ModeParser;
-
 #ifndef _WIN32
        if (!do_root)
                this->CheckRoot();