From 138f71ed13644d165293f6b59af3c55a53aeca97 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 11 Sep 2008 23:45:14 +0000 Subject: Remove some duplication, everything calls the SE equivilant anyway. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10525 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspsocket.h | 9 +-------- src/inspsocket.cpp | 5 ----- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/include/inspsocket.h b/include/inspsocket.h index a82f8bb82..b8f64d762 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -246,7 +246,7 @@ class CoreExport BufferedSocket : public EventHandler * other end of the socket. * * Further write events will not be triggered - * unless you call WantWrite(). + * unless you call SocketEngine::WantWrite(). * * The default behaviour of this method is to * flush the write buffer, respecting the IO @@ -306,13 +306,6 @@ class CoreExport BufferedSocket : public EventHandler */ void SetState(BufferedSocketState s); - /** - * Call this to receive the next write event - * that comes along for this fd to the OnWriteReady - * method. - */ - void WantWrite(); - /** * Returns the current socket state. */ diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 2d967d5e6..98ac892a0 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -91,11 +91,6 @@ BufferedSocket::BufferedSocket(InspIRCd* SI, const std::string &ipaddr, int apor } } -void BufferedSocket::WantWrite() -{ - this->Instance->SE->WantWrite(this); -} - void BufferedSocket::SetQueues() { // attempt to increase socket sendq and recvq as high as its possible -- cgit v1.2.3