X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Finspsocket.cpp;h=27c6f87ec9957e73704ee86a06cf7c5d774be420;hb=ac705cd20e12f46bd638093f000dfd541ffc5d22;hp=1326093b9d5f8aaa3c25df0af083036aa3a70f8d;hpb=81e644a40b7eead5402fe38ccb7f076b54344911;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 1326093b9..27c6f87ec 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -300,7 +300,7 @@ void StreamSocket::DoWrite() else if (rv < itemlen) { ServerInstance->SE->ChangeEventMask(this, FD_WANT_FAST_WRITE | FD_WRITE_WILL_BLOCK); - front = front.substr(itemlen - rv); + front = front.substr(rv); sendq_len -= rv; return; }