summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp1
1 files changed, 1 insertions, 0 deletions
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