diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-02 16:53:01 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-02 16:53:01 +0000 |
commit | e7c31868d1787071a063c31eae0a8de5389a9419 (patch) | |
tree | ce5f85827905349ae09e92ec3f9940668883bcfc /src/modules/m_joinflood.cpp | |
parent | d1af89a55ccd8d30a5399e74c562e4ece1852dbe (diff) |
Because these modes take no parameter when being removed, they need no special code for ModeHandler::RemoveMode()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5111 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r-- | src/modules/m_joinflood.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index 5b1562e18..c7b5700d2 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -245,12 +245,13 @@ class ModuleJoinFlood : public Module virtual ~ModuleJoinFlood() { + ServerInstance->Modes->DelMode(jf); DELETE(jf); } virtual Version GetVersion() { - return Version(1,0,0,0,VF_STATIC|VF_VENDOR); + return Version(1, 0, 0, 0, VF_COMMON | VF_VENDOR); } }; |