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/modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 78b00e95e..16459eeb4 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -593,7 +593,7 @@ void ModuleManager::AddService(ServiceProvider& item) switch (item.service) { case SERVICE_COMMAND: - if (!ServerInstance->Parser->AddCommand(static_cast(&item))) + if (!ServerInstance->Parser.AddCommand(static_cast(&item))) throw ModuleException("Command "+std::string(item.name)+" already exists."); return; case SERVICE_MODE: -- cgit v1.3.1-10-gc9f91