summaryrefslogtreecommitdiff
path: root/src/modules/m_showwhois.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-02 16:02:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-02 16:02:35 +0000
commit40e990ed06126c1ba6164738527127d1f58fc032 (patch)
tree0c1c0c2893064ffa2163421d5891b91f7002fbe1 /src/modules/m_showwhois.cpp
parent5c3df6d82dd8f9a545c389518bdfe4fab0e0c7df (diff)
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_showwhois.cpp')
-rw-r--r--src/modules/m_showwhois.cpp3
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)