From 475d09af18ac6374642bd6517e1608baf117a2e6 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Apr 2004 18:28:16 +0000 Subject: Buffering fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@548 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/connection.cpp') 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); -- cgit v1.2.3