summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-01 18:34:34 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-01 18:34:34 +0000
commit6953371f7133223ea85e815530320715bae43cc6 (patch)
tree80f07f52baa4d7d14f400a34022cab729baabcd9
parentde35a20ab7521ccd310bbc922c75b144b9a13fc2 (diff)
Remove deprecated BufferedSocket::MarkAsClosed()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9246 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/inspsocket.h11
-rw-r--r--src/inspsocket.cpp4
2 files changed, 0 insertions, 15 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h
index d33cde5e8..f094701c0 100644
--- a/include/inspsocket.h
+++ b/include/inspsocket.h
@@ -406,17 +406,6 @@ class CoreExport BufferedSocket : public EventHandler
*/
virtual bool DoConnect();
- /**
- * This method marks the socket closed.
- * The next time the core examines a socket marked
- * as closed, the socket will be closed and the
- * memory reclaimed.
- *
- * NOTE: This method is DEPRECIATED and will be
- * ignored if called!
- */
- void MarkAsClosed();
-
/** Handle event from EventHandler parent class
*/
void HandleEvent(EventType et, int errornum = 0);
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index 41f40dc2b..c6fcf8fd6 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -434,10 +434,6 @@ const char* BufferedSocket::Read()
}
}
-void BufferedSocket::MarkAsClosed()
-{
-}
-
// There are two possible outcomes to this function.
// It will either write all of the data, or an undefined amount.
// If an undefined amount is written the connection has failed