diff options
| author | 2025-02-14 14:27:08 +0000 | |
|---|---|---|
| committer | 2025-02-14 14:27:08 +0000 | |
| commit | 2025b34ed248b0fdefc85e7062fe3440a275a536 (patch) | |
| tree | f05a8787c41477916bf53b973091418802ac7208 /src/users.cpp | |
| parent | Purge v3 compatibility code. (diff) | |
| parent | Move RPL_TIME to the numeric header, unify TIME and ALLTIME. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 556ea8d9e..d44d641cb 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -483,7 +483,7 @@ void LocalUser::FullConnect() ServerInstance->SNO.WriteToSnoMask('c', "Client connecting on port {} (class {}): {} ({}) [{}\x0F]", server_sa.port(), GetClass()->GetName(), GetRealMask(), GetAddress(), GetRealName()); - ServerInstance->Logs.Debug("BANCACHE", "Adding NEGATIVE hit for " + this->GetAddress()); + ServerInstance->Logs.Debug("BANCACHE", "Adding NEGATIVE hit for {}", this->GetAddress()); ServerInstance->BanCache.AddHit(this->GetAddress(), "", ""); // reset the flood penalty (which could have been raised due to things like auto +x) CommandFloodPenalty = 0; @@ -504,7 +504,7 @@ bool User::ChangeNick(const std::string& newnick, time_t newts) { if (quitting) { - ServerInstance->Logs.Debug("USERS", "BUG: Attempted to change nick of a quitting user: " + this->nick); + ServerInstance->Logs.Debug("USERS", "BUG: Attempted to change nick of a quitting user: {}", this->nick); return false; } |
