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