From 0036e619c5c2bb291e62c8eea7c0154e26fa3fb6 Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 17 Apr 2009 13:55:20 +0000 Subject: 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 --- src/cull_list.cpp | 3 +-- 1 file changed, 1 insertion(+), 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::iterator a = list.begin(); -- cgit v1.2.3