* ---------------------------------------------------
*/
-/* $Core: libIRCDcull_list */
+/* $Core */
#include "inspircd.h"
#include "cull_list.h"
if (IS_LOCAL(u))
{
- if (u->io)
+ if (u->GetIOHook())
{
try
{
- u->io->OnRawSocketClose(u->GetFd());
+ u->GetIOHook()->OnRawSocketClose(u->GetFd());
}
catch (CoreException& modexcept)
{