diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-02 16:45:40 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-02 16:45:40 +0000 |
commit | d1af89a55ccd8d30a5399e74c562e4ece1852dbe (patch) | |
tree | 64e07ac4081cbfab29cbbaa3c9551f124de2fc0c /src | |
parent | 4c48adf20367bba99a5d343ef491220cc9e1f542 (diff) |
Actually let it be unloaded would be a start (remove VF_STATIC)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5110 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_chanprotect.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 2eabc70a8..d4894c765 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -433,13 +433,15 @@ class ModuleChanProtect : public Module virtual ~ModuleChanProtect() { + ServerInstance->Modes->DelMode(cp); + ServerInstance->Modes->DelMode(cf); DELETE(cp); DELETE(cf); } virtual Version GetVersion() { - return Version(1,0,0,0,VF_STATIC|VF_VENDOR); + return Version(1, 0, 0, 0, VF_COMMON | VF_VENDOR); } virtual void OnSyncChannel(chanrec* chan, Module* proto, void* opaque) |