summaryrefslogtreecommitdiff
path: root/src/modules/m_chanhistory.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-12 20:57:44 +0200
committerattilamolnar <attilamolnar@hush.com>2012-07-12 20:57:44 +0200
commit53ab523021bbb7bf318bb5e53d15c783685e587b (patch)
treedda17fff53111652c7038902fd8b978447ebfb84 /src/modules/m_chanhistory.cpp
parentfc0a4b7de936c413e6475efca0bfa0813580cd22 (diff)
m_halfop, m_chanhistory Remove redundant ModeParser::DelMode() calls, the modes are deleted automatically on unload
Diffstat (limited to 'src/modules/m_chanhistory.cpp')
-rw-r--r--src/modules/m_chanhistory.cpp5
1 files changed, 0 insertions, 5 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)