From 590b3a9e17fa52ef195f2c95bb33d7b996a6456d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Apr 2004 18:23:26 +0000 Subject: Added buffering fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@547 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); -- cgit v1.2.3