diff options
Diffstat (limited to 'src/modules/m_nokicks.cpp')
-rw-r--r-- | src/modules/m_nokicks.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp index bc7a61550..f3f5d537a 100644 --- a/src/modules/m_nokicks.cpp +++ b/src/modules/m_nokicks.cpp @@ -98,12 +98,13 @@ class ModuleNoKicks : public Module virtual ~ModuleNoKicks() { + ServerInstance->Modes->DelMode(nk); DELETE(nk); } virtual Version GetVersion() { - return Version(1,0,0,0,VF_STATIC|VF_VENDOR); + return Version(1,0,0,0,VF_COMMON|VF_VENDOR); } }; |