summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-11 23:45:14 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-11 23:45:14 +0000
commit138f71ed13644d165293f6b59af3c55a53aeca97 (patch)
tree82c61a302751a654f7c382e6068e7db2331ad321
parentb7b0f5404757b0de080d71b92a4b45388276e450 (diff)
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
-rw-r--r--include/inspsocket.h9
-rw-r--r--src/inspsocket.cpp5
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