diff options
Diffstat (limited to 'src/modules/m_inviteexception.cpp')
-rw-r--r-- | src/modules/m_inviteexception.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index 234f7bfbc..c7cfa739e 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -95,7 +95,13 @@ public: virtual Version GetVersion() { - return Version(1, 0, 0, 3, VF_VENDOR | VF_STATIC); + return Version(1, 0, 0, 3, VF_VENDOR | VF_COMMON); + } + + ~ModuleInviteException() + { + ServerInstance->Modes->DelMode(ie); + DELETE(ie); } }; |