summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-11 04:09:22 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-11 04:09:22 +0000
commitdb2a4c2c15bb170464bbff464d7cc79cd098df26 (patch)
treeb10f5610017924f51dde372b9a5fa473d9394188 /src/modules.cpp
parentd4d2b9a1fbeea981dc0c35402483d6216e8e45ac (diff)
Change SERVICE_{CMODE,UMODE} to SERVICE_MODE, which makes more sense
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12430 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 52a25d37c..bfe0deecb 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -433,8 +433,7 @@ void ModuleManager::AddService(ServiceProvider& item)
if (!ServerInstance->Parser->AddCommand(static_cast<Command*>(&item)))
throw ModuleException("Command "+std::string(item.name)+" already exists.");
return;
- case SERVICE_CMODE:
- case SERVICE_UMODE:
+ case SERVICE_MODE:
if (!ServerInstance->Modes->AddMode(static_cast<ModeHandler*>(&item)))
throw ModuleException("Mode "+std::string(item.name)+" already exists.");
return;