]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cull_list.cpp
Make classbase and refcountbase uncopyable; expand comments on their indended uses
[user/henk/code/inspircd.git] / src / cull_list.cpp
index 6033ec695a126de15698520cfbbc838f0438833e..1ce6dfae104fff5a9988298b8c18a73d1287e789 100644 (file)
@@ -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
                {