summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-10 13:20:37 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-10 13:20:37 +0000
commite91eea91739c3fa9f271e1df8435966627e1a22f (patch)
tree16085148ac701d89524877a5920d75342b554ba8 /src/modules
parent51a610ae06f4da06cb2819e3830396f15c191b6a (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_quitban.cpp1
1 files changed, 1 insertions, 0 deletions
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