diff --git a/libi2pd/Destination.cpp b/libi2pd/Destination.cpp index aa77b09e..e2eadbe6 100644 --- a/libi2pd/Destination.cpp +++ b/libi2pd/Destination.cpp @@ -164,9 +164,9 @@ namespace client bool LeaseSetDestination::Reconfigure(const i2p::util::Mapping ¶ms) { - bool dontPublishLeaseSet = true; + bool dontPublishLeaseSet = !m_IsPublic; params.Get(I2CP_PARAM_DONT_PUBLISH_LEASESET, dontPublishLeaseSet); - m_IsPublic = !dontPublishLeaseSet; + m_IsPublic = !dontPublishLeaseSet; auto numTags = GetNumTags (); params.Get (I2CP_PARAM_TAGS_TO_SEND, numTags); auto numRatchetInboundTags = GetNumRatchetInboundTags ();