summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp3
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;
}