X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcull_list.cpp;h=1ce6dfae104fff5a9988298b8c18a73d1287e789;hb=9db7af579c46a9f0379fdf71fb773a0a76a94846;hp=6033ec695a126de15698520cfbbc838f0438833e;hpb=67a4a9b62355ea57a2f4521ca5fc53bd4eac3a1f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cull_list.cpp b/src/cull_list.cpp index 6033ec695..1ce6dfae1 100644 --- a/src/cull_list.cpp +++ b/src/cull_list.cpp @@ -26,8 +26,8 @@ void CullList::Apply() { ServerInstance->Logs->Log("CULLLIST", DEBUG, "Deleting %s @%p", typeid(*c).name(), (void*)c); - if (c->cull()) - queue.push_back(c); + c->cull(); + queue.push_back(c); } else {