X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fusers.cpp;h=b81cd6d912d2bd6ca3bc8bbdc3833183144f12ae;hb=8f7f74cf0f297e2b8476fc4c670515f8940580ea;hp=ab42708456a882ebf018dd179ac151eec2a5790f;hpb=911676479377723f9672e2ed0e2b03e15412f2df;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/users.cpp b/src/users.cpp index ab4270845..b81cd6d91 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -533,14 +533,11 @@ bool User::AddBuffer(const std::string &a) } else { - ServerInstance->Logs->Log("recvqdebug", DEBUG, "Current recvq size is %d and I got called with a string of %d\n(%s)", recvq.length(), a.length(), a.c_str()); - // While we can find the end of a chunk to add while (i != std::string::npos) { // Append the chunk that we have recvq.append(a, start, (i - start)); - ServerInstance->Logs->Log("recvqdebug", DEBUG, "Appended a chunk, length is now %d", recvq.length()); // Start looking for the next one start = i + 1; @@ -560,11 +557,8 @@ bool User::AddBuffer(const std::string &a) * which is most *certainly* not the behaviour we want! * -- w00t */ - ServerInstance->Logs->Log("recvqdebug", DEBUG, "*** ALERT *** start != a.length, we should probably add more"); recvq.append(a, start, (a.length() - start)); } - - ServerInstance->Logs->Log("recvqdebug", DEBUG, "Final recvq length is %d\n(%s)", recvq.length(), recvq.c_str()); } if (this->MyClass && (recvq.length() > this->MyClass->GetRecvqMax()))