diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-18 22:05:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-18 22:05:22 +0000 |
commit | 2c310508ae45a2d3af2d8065989b7953d2222b11 (patch) | |
tree | 3ce0fa9b449ae1ba84dc8b196d2a70b6e5b4388b /src/connection.cpp | |
parent | d7f9becf8c383d83cead5f3b7b3be0dc0d1327f0 (diff) |
Added more rigorous link connection checking and recovery
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@655 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index ad9133031..c003f9ff7 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -366,8 +366,7 @@ bool connection::SendPacket(char *message, const char* host) cn->CloseConnection(); cn->SetState(STATE_DISCONNECTED); // retry the packet along a new route so either arrival OR failure are gauranteed (bugfix) - this->SendPacket(message,host); - return false; + return this->SendPacket(message,host); } return true; } |