X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcull_list.cpp;h=bfbe518cbbb0b781c09bd0f23979b03e5711a6a6;hb=b16662a24cc1deaf50321b8214510841785c50f0;hp=a7f8d3316c6375d0ab396679fbb47632cbe54150;hpb=7d7250484c352c13830e63ae41ee8faae40a9bd5;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cull_list.cpp b/src/cull_list.cpp index a7f8d3316..bfbe518cb 100644 --- a/src/cull_list.cpp +++ b/src/cull_list.cpp @@ -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) {