]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cull_list.cpp
Add notices on successful add or remove to callerid list.
[user/henk/code/inspircd.git] / src / cull_list.cpp
index a7f8d3316c6375d0ab396679fbb47632cbe54150..bfbe518cbbb0b781c09bd0f23979b03e5711a6a6 100644 (file)
@@ -11,7 +11,7 @@
  * ---------------------------------------------------
  */
 
-/* $Core: libIRCDcull_list */
+/* $Core */
 
 #include "inspircd.h"
 #include "cull_list.h"
@@ -63,7 +63,7 @@ int CullList::Apply()
 
                if (IS_LOCAL(u))
                {
-                       if ((!u->sendq.empty()) && (!(*u->GetWriteError())))
+                       if (!u->sendq.empty())
                                u->FlushWriteBuf();
                }
 
@@ -78,11 +78,11 @@ int CullList::Apply()
 
                if (IS_LOCAL(u))
                {
-                       if (u->io)
+                       if (u->GetIOHook())
                        {
                                try
                                {
-                                       u->io->OnRawSocketClose(u->GetFd());
+                                       u->GetIOHook()->OnRawSocketClose(u->GetFd());
                                }
                                catch (CoreException& modexcept)
                                {