From 450b6385266d17d8acb6886ecda59976b08c6004 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 8 Nov 2008 17:21:46 +0000 Subject: 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 --- src/modules/m_connectban.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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) -- cgit v1.2.3