]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cull_list.cpp
m_dnsbl updates
[user/henk/code/inspircd.git] / src / cull_list.cpp
index 6033ec695a126de15698520cfbbc838f0438833e..4f70ca466034ca3a0facec6cc19b1249f8718a87 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -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
                {