]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Buffering fixes
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 11 Apr 2004 18:28:16 +0000 (18:28 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 11 Apr 2004 18:28:16 +0000 (18:28 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@548 e03df62e-2008-0410-955e-edbf42e46eb7

src/connection.cpp

index 12e83d2e59d4d7e2b615612b201aa52ae88b6ff2..a7f7ed0a1d3606934bcd90f1572f8e87b77150ca 100644 (file)
@@ -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;
                                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);
                                strcpy(pb.host,inet_ntoa(host_address.sin_addr));
                                pb.port = ntohs(host_address.sin_port);
                                this->buffer.push_back(pb);