From 5b1ee304b5e1d71c71eec9ebf8f40758dfce5c1e Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 13 Jun 2014 15:45:55 +0200 Subject: Change allocation of InspIRCd::Parser to be physically part of the object containing it --- src/inspircd.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 898b4f455..cb428c32a 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -131,7 +131,6 @@ void InspIRCd::Cleanup() DeleteZero(this->Users); DeleteZero(this->Modes); DeleteZero(this->XLines); - DeleteZero(this->Parser); DeleteZero(this->Modules); DeleteZero(this->SNO); DeleteZero(this->Config); @@ -262,7 +261,6 @@ InspIRCd::InspIRCd(int argc, char** argv) : this->Config = 0; this->SNO = 0; this->Modules = 0; - this->Parser = 0; this->XLines = 0; this->Modes = 0; this->ConfigThread = NULL; @@ -286,7 +284,6 @@ InspIRCd::InspIRCd(int argc, char** argv) : this->SNO = new SnomaskManager; this->Modules = new ModuleManager(); dynamic_reference_base::reset_all(); - this->Parser = new CommandParser; this->XLines = new XLineManager; this->Config->cmdline.argv = argv; -- cgit v1.3.1-10-gc9f91