diff options
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r-- | src/modules/m_nonicks.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index b77e0ff09..338c472f5 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -67,12 +67,13 @@ class ModuleNoNickChange : public Module virtual ~ModuleNoNickChange() { + ServerInstance->Modes->DelMode(nn); DELETE(nn); } virtual Version GetVersion() { - return Version(1,0,0,1,VF_STATIC|VF_VENDOR); + return Version(1,0,0,1,VF_COMMON|VF_VENDOR); } void Implements(char* List) |