diff options
Diffstat (limited to 'src/modules/m_showwhois.cpp')
-rw-r--r-- | src/modules/m_showwhois.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp index 0719a93f8..bdf3a9ba8 100644 --- a/src/modules/m_showwhois.cpp +++ b/src/modules/m_showwhois.cpp @@ -61,6 +61,7 @@ class ModuleShowwhois : public Module ~ModuleShowwhois() { + ServerInstance->Modes->DelMode(sw); DELETE(sw); } @@ -71,7 +72,7 @@ class ModuleShowwhois : public Module virtual Version GetVersion() { - return Version(1,0,0,3,VF_STATIC); + return Version(1,0,0,3,VF_COMMON|VF_VENDOR); } virtual void OnWhois(userrec* source, userrec* dest) |