summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 18:23:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 18:23:26 +0000
commit590b3a9e17fa52ef195f2c95bb33d7b996a6456d (patch)
treede68b9c35c050b78f012aac3c9cce9a5637d0ca2 /src/connection.cpp
parentd1e81f7b8023e21106cd5d005032ecd036473cf8 (diff)
Added buffering fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@547 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index 9f6896c62..12e83d2e5 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -357,6 +357,7 @@ bool connection::RecvPacket(char *message, char* host, int &prt, long &theirkey)
pb.p.id = p.id;
pb.p.key = p.key;
pb.p.type = p.type;
+ strcpy(pb.p.data,p.data);
strcpy(pb.host,inet_ntoa(host_address.sin_addr));
pb.port = ntohs(host_address.sin_port);
this->buffer.push_back(pb);