summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-09 14:27:04 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-09 14:27:04 +0000
commit531fb6fed282b6d32d94d1e99ffdd1599dde2713 (patch)
treea91e54ec32c094ddece65e1aaed296d09c6999ce
parent014502d9513517841389a59ae98ac0c705d158b5 (diff)
Remove a totally redundant method (this is already available via inheritance from EventHandler)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10490 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/inspsocket.h7
-rw-r--r--src/inspsocket.cpp5
2 files changed, 0 insertions, 12 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h
index f0f0e1484..f61bf133d 100644
--- a/include/inspsocket.h
+++ b/include/inspsocket.h
@@ -336,13 +336,6 @@ class CoreExport BufferedSocket : public EventHandler
bool Poll();
/**
- * This method returns the socket's file descriptor
- * as assigned by the operating system, or -1
- * if no descriptor has been assigned.
- */
- int GetFd();
-
- /**
* This method causes the socket to close, and may
* also be triggered by other methods such as OnTimeout
* and OnError.
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index d4f6c9c17..0c3f3ea17 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -591,11 +591,6 @@ BufferedSocketState BufferedSocket::GetState()
return this->state;
}
-int BufferedSocket::GetFd()
-{
- return this->fd;
-}
-
bool BufferedSocket::OnConnected() { return true; }
void BufferedSocket::OnError(BufferedSocketError) { return; }
int BufferedSocket::OnDisconnect() { return 0; }