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
This commit is contained in:
w00t 2008-09-11 23:45:14 +00:00
parent b7b0f54047
commit 138f71ed13
2 changed files with 1 additions and 13 deletions

View File

@ -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.
*/

View File

@ -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