diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-11 18:28:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-11 18:28:16 +0000 |
commit | 475d09af18ac6374642bd6517e1608baf117a2e6 (patch) | |
tree | a3e5ed76199af290b368e27edbb848ce66b496dd | |
parent | 590b3a9e17fa52ef195f2c95bb33d7b996a6456d (diff) |
Buffering fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@548 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/connection.cpp | 1 |
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); |