From 2c310508ae45a2d3af2d8065989b7953d2222b11 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 18 Apr 2004 22:05:22 +0000 Subject: Added more rigorous link connection checking and recovery git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@655 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/connection.cpp') 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; } -- cgit v1.2.3