diff options
-rw-r--r-- | include/inspsocket.h | 9 | ||||
-rw-r--r-- | src/inspsocket.cpp | 5 |
2 files changed, 1 insertions, 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 @@ -307,13 +307,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. */ BufferedSocketState GetState(); 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 |