summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/connection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index 12e83d2e5..a7f7ed0a1 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -179,6 +179,7 @@ bool connection::SendPacket(char *message, char* host, int port, long ourkey)
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);