]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cull_list.cpp
namespace fix0rz
[user/henk/code/inspircd.git] / src / cull_list.cpp
index 5c7eb7b4258855ebeef7f3c18e4feffbf65d9597..bfbe518cbbb0b781c09bd0f23979b03e5711a6a6 100644 (file)
@@ -11,7 +11,7 @@
  * ---------------------------------------------------
  */
 
-/* $Core: libIRCDcull_list */
+/* $Core */
 
 #include "inspircd.h"
 #include "cull_list.h"
@@ -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)
                                {