summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/servers.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/servers.cpp b/src/servers.cpp
index 2675849a5..f7bbe44a7 100644
--- a/src/servers.cpp
+++ b/src/servers.cpp
@@ -487,6 +487,7 @@ bool serverrec::RecvPacket(std::deque<std::string> &messages, char* recvhost,std
DoSplit(this->connectors[i].GetServerName().c_str());
}
has_been_netsplit = true;
+ break;
}
if (rcvsize == -1)
{
@@ -504,6 +505,7 @@ bool serverrec::RecvPacket(std::deque<std::string> &messages, char* recvhost,std
DoSplit(this->connectors[i].GetServerName().c_str());
}
has_been_netsplit = true;
+ break;
}
}
int pushed = 0;
@@ -522,6 +524,7 @@ bool serverrec::RecvPacket(std::deque<std::string> &messages, char* recvhost,std
DoSplit(this->connectors[i].GetServerName().c_str());
}
has_been_netsplit = true;
+ break;
}
if (this->connectors[i].BufferIsComplete())
{