summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-17 23:40:18 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-17 23:40:18 +0000
commitece985ccb3210a132d67381511642edfb359f5c4 (patch)
treeae9e6955ecd039231eaa8d19634bb58732f81c41 /src/modules.cpp
parent207af6fb2fede5788d2e99809b5b36d11aefa706 (diff)
Remove a redundant method here, call the mode manager directly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8732 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 734d5c2b2..2aae2a00d 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -752,21 +752,6 @@ User* FindDescriptorHandler::Call(int socket)
return reinterpret_cast<User*>(Server->SE->GetRef(socket));
}
-bool InspIRCd::AddMode(ModeHandler* mh)
-{
- return this->Modes->AddMode(mh);
-}
-
-bool InspIRCd::AddModeWatcher(ModeWatcher* mw)
-{
- return this->Modes->AddModeWatcher(mw);
-}
-
-bool InspIRCd::DelModeWatcher(ModeWatcher* mw)
-{
- return this->Modes->DelModeWatcher(mw);
-}
-
bool InspIRCd::AddResolver(Resolver* r, bool cached)
{
if (!cached)
@@ -800,10 +785,6 @@ const std::vector<std::string> ModuleManager::GetAllModuleNames(int filter)
ConfigReader::ConfigReader(InspIRCd* Instance) : ServerInstance(Instance)
{
- /* Is there any reason to load the entire config file again here?
- * it's needed if they specify another config file, but using the
- * default one we can just use the global config data - pre-parsed!
- */
this->errorlog = new std::ostringstream(std::stringstream::in | std::stringstream::out);
this->error = CONF_NO_ERROR;
this->data = &ServerInstance->Config->config_data;