summaryrefslogtreecommitdiff
path: root/src/modules/m_banexception.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-02 16:13:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-02 16:13:01 +0000
commit687531999ced9e457463b1a6de2bfcef97c6250c (patch)
treeea337c29c56c02c798426f4b4ac183eedf71e9d3 /src/modules/m_banexception.cpp
parent40e990ed06126c1ba6164738527127d1f58fc032 (diff)
banexception, chanfilter and inviteexception should now be unloadable :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5103 e03df62e-2008-0410-955e-edbf42e46eb7
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);
}
};