diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-11-23 12:50:35 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-11-23 12:50:35 +0100 |
commit | 42de16029da37f08ce1827352aa78b4b29d888cb (patch) | |
tree | b8f61d0a518df5d480285d4d6c16250921cdf42e /src/modules.cpp | |
parent | 820f229a9efe2678d1e85578aa086a1efdd73a30 (diff) |
Implement Command::RegisterService()
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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<Command*>(&item))) - throw ModuleException("Command "+std::string(item.name)+" already exists."); - return; case SERVICE_MODE: { ModeHandler* mh = static_cast<ModeHandler*>(&item); |