summaryrefslogtreecommitdiff
path: root/include/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/connection.h')
-rw-r--r--include/connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/connection.h b/include/connection.h
index d92cc6354..2dd11633b 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -14,6 +14,7 @@
#include <errno.h>
#include <time.h>
#include <vector>
+#include <deque>
#ifndef __CONNECTION_H__
#define __CONNECTION_H__
@@ -110,7 +111,7 @@ class connection : public classbase
bool BeginLink(char* targethost, int port, char* password, char* servername);
void TerminateLink(char* targethost);
bool SendPacket(char *message, char* host);
- bool RecvPacket(string_list &messages, char* host);
+ bool RecvPacket(std::deque<std::string> &messages, char* host);
ircd_connector* FindHost(std::string host);
bool AddIncoming(int fd,char* targethost);
long GenKey();