summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 20:08:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 20:08:38 +0000
commit43b4a302d4d4210eea93e10cce2fabdd27c04e58 (patch)
tree00e87db2009b2ac015d84950f1a64c384cf09d7e
parent8af51fb7d539e19e43b924adb1d52e78c699ef10 (diff)
Completely removed the deque
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3685 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/socket.h6
-rw-r--r--src/socket.cpp1
2 files changed, 0 insertions, 7 deletions
diff --git a/include/socket.h b/include/socket.h
index 7dabd4bd3..ce0ae7d55 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -23,7 +23,6 @@
#include <sstream>
#include <string>
#include "dns.h"
-#include <deque>
/**
* States which a socket may be in
@@ -113,11 +112,6 @@ private:
char ibuf[65535];
/**
- * The output buffer for this socket
- */
- std::deque<std::string> outbuffer;
-
- /**
* The IP address being connected
* to stored in string form for
* easy retrieval by accessors.
diff --git a/src/socket.cpp b/src/socket.cpp
index 498b17949..174df4a1b 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -64,7 +64,6 @@ InspSocket::InspSocket(int newfd, char* ip)
InspSocket::InspSocket(const std::string &ahost, int aport, bool listening, unsigned long maxtime) : fd(-1), host(ahost)
{
this->ClosePending = false;
- this->outbuffer.clear();
if (listening) {
if ((this->fd = OpenTCPSocket()) == ERROR)
{