diff options
Diffstat (limited to 'src/modules/m_connectban.cpp')
-rw-r--r-- | src/modules/m_connectban.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp index dc2bc3f18..2a00b36df 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -24,12 +24,12 @@ class ModuleConnectBan : public Module { - private: clonemap connects; unsigned int threshold; unsigned int banduration; unsigned int ipv4_cidr; unsigned int ipv6_cidr; + public: void init() { @@ -38,10 +38,6 @@ class ModuleConnectBan : public Module OnRehash(NULL); } - virtual ~ModuleConnectBan() - { - } - virtual Version GetVersion() { return Version("Throttles the connections of IP ranges who try to connect flood.", VF_VENDOR); |