diff options
-rw-r--r-- | src/modules/m_chanhistory.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_halfop.cpp | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/modules/m_chanhistory.cpp b/src/modules/m_chanhistory.cpp index 482d526eb..64e573286 100644 --- a/src/modules/m_chanhistory.cpp +++ b/src/modules/m_chanhistory.cpp @@ -132,11 +132,6 @@ class ModuleChanHistory : public Module sendnotice = tag->getInt("notice", true); } - ~ModuleChanHistory() - { - ServerInstance->Modes->DelMode(&m); - } - void OnUserMessage(User* user,void* dest,int target_type, const std::string &text, char status, const CUList&) { if (target_type == TYPE_CHANNEL && status == 0) 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); |