diff --git a/src/TConnectionLimiter.cpp b/src/TConnectionLimiter.cpp index 4f3c179..86e686b 100644 --- a/src/TConnectionLimiter.cpp +++ b/src/TConnectionLimiter.cpp @@ -45,6 +45,8 @@ TConnectionLimiter::TGuard& TConnectionLimiter::TGuard::operator=(TGuard&& other mOwner = other.mOwner; mIp = std::move(other.mIp); other.mOwner = nullptr; + // setting this so its obvious when this happens, instead of being UB or empty string + other.mIp = ""; } return *this; }