From 42de16029da37f08ce1827352aa78b4b29d888cb Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 23 Nov 2015 12:50:35 +0100 Subject: Implement Command::RegisterService() --- src/modules.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 3ff8aad14..d28657ca8 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -556,10 +556,6 @@ void ModuleManager::AddService(ServiceProvider& item) { switch (item.service) { - case SERVICE_COMMAND: - if (!ServerInstance->Parser.AddCommand(static_cast(&item))) - throw ModuleException("Command "+std::string(item.name)+" already exists."); - return; case SERVICE_MODE: { ModeHandler* mh = static_cast(&item); -- cgit v1.2.3