summaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
authorGravatar Jackmcbarn2011-01-29 16:29:33 -0500
committerGravatar Jackmcbarn2011-01-29 16:29:33 -0500
commit5dbabb823456744e7442edc2bfde1272bb2edcb1 (patch)
tree9ca74394c3d59592b7cd70f64b1b37faaab3f02c /src/inspsocket.cpp
parentRemove protocol.h from inspircd.h (diff)
Remove cull_list.h from inspircd.h
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index 9b28126f0..0e2367004 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -12,6 +12,7 @@
*/
#include "inspircd.h"
+#include "cull_list.h"
#ifndef DISABLE_WRITEV
#include <sys/uio.h>
@@ -446,7 +447,7 @@ void SocketTimeout::Tick(time_t)
this->sock->OnError(I_ERR_TIMEOUT);
this->sock->state = I_ERROR;
- ServerInstance->GlobalCulls.AddItem(sock);
+ ServerInstance->GlobalCulls->AddItem(sock);
}
this->sock->Timeout = NULL;