summaryrefslogtreecommitdiff
path: root/src/modules/m_banexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r--src/modules/m_banexception.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 5f2f6f92a..9ac3d0dc7 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -93,11 +93,12 @@ public:
virtual Version GetVersion()
{
- return Version(1, 0, 0, 3, VF_STATIC | VF_VENDOR);
+ return Version(1, 0, 0, 3, VF_COMMON | VF_VENDOR);
}
virtual ~ModuleBanException()
{
+ ServerInstance->Modes->DelMode(be);
DELETE(be);
}
};