From 5232506d5eade7ab98ff39ee98577b04b257bbb2 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Apr 2004 19:07:20 +0000 Subject: Buffering fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@580 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/connection.cpp') diff --git a/src/connection.cpp b/src/connection.cpp index 19424afc4..6073b0a4a 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include "inspircd.h" #include "modules.h" @@ -256,7 +257,7 @@ bool connection::SendPacket(char *message, char* host) // receives a packet from any where there is data waiting, first come, first served // fills the message and host values with the host where the data came from. -bool connection::RecvPacket(string_list &messages, char* host) +bool connection::RecvPacket(std::deque &messages, char* host) { char data[32767]; for (int i = 0; i < this->connectors.size(); i++) -- cgit v1.3.1-10-gc9f91