summaryrefslogtreecommitdiff
path: root/src/modules/m_connectban.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-01 21:56:13 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-01 21:56:13 +0200
commit26e7bb0b9a17a595d9935a1cae41b44504ad213e (patch)
tree904734f67485d62de90c35abbb522ad0e84cb862 /src/modules/m_connectban.cpp
parent8584cc23f4bd6515acef65fc82a15dc1f53127b2 (diff)
Whitespace and empty destructor removal, minor coding style changes
Diffstat (limited to 'src/modules/m_connectban.cpp')
-rw-r--r--src/modules/m_connectban.cpp6
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);