summaryrefslogtreecommitdiff
path: root/src/mode.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/mode.cpp
parent061a762095e983d07382f61cd69611a082792668 (diff)
Remove harmless but scary-looking logfile lines
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index a3f8ab6fe..873609d25 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -61,8 +61,6 @@ CullResult ModeHandler::cull()
ModeHandler::~ModeHandler()
{
- if (ServerInstance && ServerInstance->Modes && ServerInstance->Modes->FindMode(mode, m_type) == this)
- ServerInstance->Logs->Log("MODE", DEFAULT, "ERROR: Destructor for mode %c called while still registered", mode);
}
bool ModeHandler::IsListMode()