X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fconnection.cpp;h=0537fef24969c5060f587343f40c580ae9ff48c0;hb=79c35a9b14c39b67c8418cc3e7fa35d31f0d9d98;hp=c6aad8c65e917eba2113c19bc751dc043d8d8619;hpb=0b233921bf69b877fb44c66e968f0266fc3ebeec;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/connection.cpp b/src/connection.cpp index c6aad8c65..0537fef24 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -220,6 +220,7 @@ void ircd_connector::ResetPing() // send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it) bool ircd_connector::FlushWriteBuf() { + char buffer[MAXBUF]; if ((this->GetState() == STATE_NOAUTH_OUTBOUND) || (this->GetState() == STATE_COOKIE_OUTBOUND)) { // if the outbound socket hasnt connected yet... return true and don't