X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcull_list.cpp;h=f7f163298cb81680efa5258dc845f9f07f52cd1e;hb=89fc6ca9c66198fe54cce19d59279cd454fc1bd0;hp=224591b6f82f5610f19439745781b41d47f4e722;hpb=da074814501f23680b579feb1ad649c86e8a1348;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cull_list.cpp b/src/cull_list.cpp index 224591b6f..f7f163298 100644 --- a/src/cull_list.cpp +++ b/src/cull_list.cpp @@ -80,11 +80,11 @@ int CullList::Apply() if (IS_LOCAL(u)) { - if (ServerInstance->Config->GetIOHook(u->GetPort())) + if (u->io) { try { - ServerInstance->Config->GetIOHook(u->GetPort())->OnRawSocketClose(u->GetFd()); + u->io->OnRawSocketClose(u->GetFd()); } catch (CoreException& modexcept) {