summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-11-08 17:21:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-11-08 17:21:46 +0000
commit450b6385266d17d8acb6886ecda59976b08c6004 (patch)
treee0b78ed012ff6b6e359f8f366ccd629a77b95a1f /src
parentbcc2276fd7028712edaba512b1cc96ef4177b856 (diff)
Module class was still called QuitBan, rename to ConnectBan for sanity
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10799 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_connectban.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp
index c82b42dd3..7c0659ad6 100644
--- a/src/modules/m_connectban.cpp
+++ b/src/modules/m_connectban.cpp
@@ -16,7 +16,7 @@
/* $ModDesc: Throttles the connections of any users who try connect flood */
-class ModuleQuitBan : public Module
+class ModuleConnectBan : public Module
{
private:
clonemap connects;
@@ -25,14 +25,14 @@ class ModuleQuitBan : public Module
unsigned int ipv4_cidr;
unsigned int ipv6_cidr;
public:
- ModuleQuitBan(InspIRCd* Me) : Module(Me)
+ ModuleConnectBan(InspIRCd* Me) : Module(Me)
{
Implementation eventlist[] = { I_OnUserConnect, I_OnGarbageCollect, I_OnRehash };
ServerInstance->Modules->Attach(eventlist, this, 3);
OnRehash(NULL, "");
}
- virtual ~ModuleQuitBan()
+ virtual ~ModuleConnectBan()
{
}
@@ -120,4 +120,4 @@ class ModuleQuitBan : public Module
}
};
-MODULE_INIT(ModuleQuitBan)
+MODULE_INIT(ModuleConnectBan)