diff --git a/Streaming.cpp b/Streaming.cpp index 7e812167..5de9edfb 100644 --- a/Streaming.cpp +++ b/Streaming.cpp @@ -598,7 +598,7 @@ namespace stream } auto ts = i2p::util::GetMillisecondsSinceEpoch (); - if (m_CurrentRemoteLease || ts >= m_CurrentRemoteLease->endDate - i2p::tunnel::TUNNEL_EXPIRATION_THRESHOLD*1000) + if (!m_CurrentRemoteLease || ts >= m_CurrentRemoteLease->endDate - i2p::tunnel::TUNNEL_EXPIRATION_THRESHOLD*1000) UpdateCurrentRemoteLease (true); if (m_CurrentRemoteLease && ts < m_CurrentRemoteLease->endDate) {