]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
Use CommandParser::GetHandler() in ServerConfig::ApplyDisabledCommands()
[user/henk/code/inspircd.git] / src / inspircd.cpp
index 942ac55a6e05553edf63d51ea622e5379bdc74e7..898b4f455e1d03659cb364ec73e05efd3fdda3aa 100644 (file)
@@ -52,7 +52,6 @@
 #include <fstream>
 #include <iostream>
 #include "xline.h"
-#include "bancache.h"
 #include "socketengine.h"
 #include "socket.h"
 #include "command_parse.h"
@@ -134,7 +133,6 @@ void InspIRCd::Cleanup()
        DeleteZero(this->XLines);
        DeleteZero(this->Parser);
        DeleteZero(this->Modules);
-       DeleteZero(this->BanCache);
        DeleteZero(this->SNO);
        DeleteZero(this->Config);
        DeleteZero(this->PI);
@@ -263,7 +261,6 @@ InspIRCd::InspIRCd(int argc, char** argv) :
        this->Users = 0;
        this->Config = 0;
        this->SNO = 0;
-       this->BanCache = 0;
        this->Modules = 0;
        this->Parser = 0;
        this->XLines = 0;
@@ -287,7 +284,6 @@ InspIRCd::InspIRCd(int argc, char** argv) :
 
        this->Config = new ServerConfig;
        this->SNO = new SnomaskManager;
-       this->BanCache = new BanCacheManager;
        this->Modules = new ModuleManager();
        dynamic_reference_base::reset_all();
        this->Parser = new CommandParser;