diff options
| author | 2004-04-11 18:28:16 +0000 | |
|---|---|---|
| committer | 2004-04-11 18:28:16 +0000 | |
| commit | 475d09af18ac6374642bd6517e1608baf117a2e6 (patch) | |
| tree | a3e5ed76199af290b368e27edbb848ce66b496dd /src/connection.cpp | |
| parent | Added buffering fix (diff) | |
| download | inspircd++-475d09af18ac6374642bd6517e1608baf117a2e6.tar.gz inspircd++-475d09af18ac6374642bd6517e1608baf117a2e6.tar.bz2 inspircd++-475d09af18ac6374642bd6517e1608baf117a2e6.zip | |
Buffering fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@548 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/connection.cpp')
| -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); |
