summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-17 13:55:20 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-17 13:55:20 +0000
commit0036e619c5c2bb291e62c8eea7c0154e26fa3fb6 (patch)
treef3657c487d04f0023a16d66aedf4a8e91c14a584
parent1735fc95bba84044d43d4490bd5916d0a52eb876 (diff)
Remove CullList rate limiting to fix UID collisions on large networks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11310 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/cull_list.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp
index 2b6e4578c..a1881fe3d 100644
--- a/src/cull_list.cpp
+++ b/src/cull_list.cpp
@@ -35,9 +35,8 @@ void CullList::MakeSilent(User* user)
int CullList::Apply()
{
int n = list.size();
- int i = 0;
- while (list.size() && i++ != 100)
+ while (list.size())
{
std::vector<User *>::iterator a = list.begin();