From e91eea91739c3fa9f271e1df8435966627e1a22f Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 10 Jan 2008 13:20:37 +0000 Subject: Erase their quit count on banning (so they get another 10 or whatever attempts, and not banned instantly on one quit after that ;p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8693 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_quitban.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/m_quitban.cpp') diff --git a/src/modules/m_quitban.cpp b/src/modules/m_quitban.cpp index 00a47beeb..652f8115c 100644 --- a/src/modules/m_quitban.cpp +++ b/src/modules/m_quitban.cpp @@ -76,6 +76,7 @@ class ModuleChanCreate : public Module delete zl; ServerInstance->SNO->WriteToSnoMask('x', "Quit flooding from IP %s (%d)", u->GetIPString(), threshold); + quits.erase(i); } } else -- cgit v1.2.3