From c8568730b557097305d133d1acc29e45b6606a2f Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 5 Apr 2008 11:50:56 +0000 Subject: Update ModDesc and class name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9349 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_quitban.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/m_quitban.cpp b/src/modules/m_quitban.cpp index 993ab1843..7cd5742d8 100644 --- a/src/modules/m_quitban.cpp +++ b/src/modules/m_quitban.cpp @@ -14,23 +14,23 @@ #include "inspircd.h" #include "xline.h" -/* $ModDesc: Creates a snomask with notices whenever a new channel is created */ +/* $ModDesc: Throttles the connections of any users who try quitflood the server */ -class ModuleChanCreate : public Module +class ModuleQuitBan : public Module { private: clonemap quits; unsigned int threshold; unsigned int banduration; public: - ModuleChanCreate(InspIRCd* Me) : Module(Me) + ModuleQuitBan(InspIRCd* Me) : Module(Me) { Implementation eventlist[] = { I_OnUserDisconnect, I_OnGarbageCollect, I_OnRehash }; ServerInstance->Modules->Attach(eventlist, this, 3); OnRehash(NULL, ""); } - virtual ~ModuleChanCreate() + virtual ~ModuleQuitBan() { } @@ -93,4 +93,4 @@ class ModuleChanCreate : public Module } }; -MODULE_INIT(ModuleChanCreate) +MODULE_INIT(ModuleQuitBan) -- cgit v1.2.3