mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-07-12 17:54:04 +00:00
avoid logging moved-from ip
This commit is contained in:
@@ -35,7 +35,7 @@ std::optional<TConnectionLimiter::TGuard> TConnectionLimiter::TryAcquire(const s
|
||||
TConnectionLimiter::TGuard::TGuard(TConnectionLimiter* owner, std::string ip)
|
||||
: mOwner(owner)
|
||||
, mIp(std::move(ip)) {
|
||||
beammp_debugf("Acquired connection guard for {}", ip);
|
||||
beammp_debugf("Acquired connection guard for {}", mIp);
|
||||
}
|
||||
|
||||
TConnectionLimiter::TGuard& TConnectionLimiter::TGuard::operator=(TGuard&& other) noexcept {
|
||||
|
||||
Reference in New Issue
Block a user