diff options
| author | 2006-09-02 16:02:35 +0000 | |
|---|---|---|
| committer | 2006-09-02 16:02:35 +0000 | |
| commit | 40e990ed06126c1ba6164738527127d1f58fc032 (patch) | |
| tree | 0c1c0c2893064ffa2163421d5891b91f7002fbe1 /src/modules/m_cloaking.cpp | |
| parent | Any modules which were using VF_STATIC to indicate they implement a mode shou... (diff) | |
| download | inspircd++-40e990ed06126c1ba6164738527127d1f58fc032.tar.gz inspircd++-40e990ed06126c1ba6164738527127d1f58fc032.tar.bz2 inspircd++-40e990ed06126c1ba6164738527127d1f58fc032.zip | |
All modules which implement simplemodes (no parameters, not a list mode) can now be UNLOADED O_o
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5102 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cloaking.cpp')
| -rw-r--r-- | src/modules/m_cloaking.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index ef3a30fb2..f26e16e0e 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -416,6 +416,7 @@ class ModuleCloaking : public Module virtual ~ModuleCloaking() { + ServerInstance->Modes->DelMode(cu); DELETE(cu); } @@ -423,7 +424,7 @@ class ModuleCloaking : public Module { // returns the version number of the module to be // listed in /MODULES - return Version(1,0,0,2,VF_STATIC|VF_VENDOR); + return Version(1,0,0,2,VF_COMMON|VF_VENDOR); } virtual void OnRehash(const std::string ¶meter) |
