diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-07-12 20:57:44 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-07-12 20:57:44 +0200 |
commit | 53ab523021bbb7bf318bb5e53d15c783685e587b (patch) | |
tree | dda17fff53111652c7038902fd8b978447ebfb84 /src/modules/m_halfop.cpp | |
parent | fc0a4b7de936c413e6475efca0bfa0813580cd22 (diff) |
m_halfop, m_chanhistory Remove redundant ModeParser::DelMode() calls, the modes are deleted automatically on unload
Diffstat (limited to 'src/modules/m_halfop.cpp')
-rw-r--r-- | src/modules/m_halfop.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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); |