diff options
Diffstat (limited to 'src/cull_list.cpp')
| -rw-r--r-- | src/cull_list.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp index 594df946c..66fd9f2d9 100644 --- a/src/cull_list.cpp +++ b/src/cull_list.cpp @@ -107,7 +107,9 @@ void CullList::MakeSilent(User* user) int CullList::Apply() { int n = list.size(); - while (list.size()) + int i = 0; + + while (list.size() && i++ != 100) { std::vector<CullItem>::iterator a = list.begin(); |
