summaryrefslogtreecommitdiff
path: root/src/modules/m_helpop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r--src/modules/m_helpop.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 2bce7097d..89ad243b6 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -254,6 +254,7 @@ class ModuleHelpop : public Module
virtual ~ModuleHelpop()
{
+ ServerInstance->Modes->DelMode(ho);
DELETE(conf);
DELETE(helpop);
DELETE(ho);
@@ -261,7 +262,7 @@ class ModuleHelpop : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,1,VF_STATIC|VF_VENDOR);
+ return Version(1,0,0,1,VF_COMMON|VF_VENDOR);
}
};