From 53ab523021bbb7bf318bb5e53d15c783685e587b Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 12 Jul 2012 20:57:44 +0200 Subject: m_halfop, m_chanhistory Remove redundant ModeParser::DelMode() calls, the modes are deleted automatically on unload --- src/modules/m_halfop.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/modules/m_halfop.cpp') diff --git a/src/modules/m_halfop.cpp b/src/modules/m_halfop.cpp index f0eda3e56..7a43f0241 100644 --- a/src/modules/m_halfop.cpp +++ b/src/modules/m_halfop.cpp @@ -92,11 +92,6 @@ class ModuleHalfop : public Module throw ModuleException("Could not add new modes!"); } - ~ModuleHalfop() - { - ServerInstance->Modes->DelMode(&mh); - } - Version GetVersion() { return Version("Channel half-operator mode provider", VF_VENDOR); -- cgit v1.2.3