summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2011-07-19 17:11:14 -0400
committerDaniel De Graaf <danieldg@inspircd.org>2011-07-19 17:11:42 -0400
commit9e9d024c29bc49f5e9045bd72d3db250773052c4 (patch)
treea79d08ed27931aa866c4194462ce4063f4cd6060 /src/modules.cpp
parent061a762095e983d07382f61cd69611a082792668 (diff)
Remove harmless but scary-looking logfile lines
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 8af5b95e3..600b4b0aa 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -174,9 +174,6 @@ ModuleManager::~ModuleManager()
bool ModuleManager::Attach(Implementation i, Module* mod)
{
- if (Modules.find(mod->ModuleSourceFile) == Modules.end())
- ServerInstance->Logs->Log("MODULE", DEFAULT, "Module is attaching to hook %d in constructor; this does not handle exceptions correctly!", i);
-
if (std::find(EventHandlers[i].begin(), EventHandlers[i].end(), mod) != EventHandlers[i].end())
return false;
@@ -427,8 +424,6 @@ bool InspIRCd::IsValidModuleCommand(const std::string &commandname, int pcnt, Us
void ModuleManager::AddService(ServiceProvider& item)
{
Module* owner = item.creator;
- if (Modules.find(owner->ModuleSourceFile) == Modules.end())
- ServerInstance->Logs->Log("MODULE", DEFAULT, "Module is registering item %s in constructor; this does not handle exceptions correctly!", item.name.c_str());
switch (item.service)
{