diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/usermanager.cpp | 4 | ||||
| -rw-r--r-- | src/users.cpp | 2 | ||||
| -rw-r--r-- | src/xline.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index c706d8d90..bbb93f113 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -202,7 +202,7 @@ void UserManager::AddUser(int socket, ListenSocket* via, const irc::sockets::soc if (!b->Type.empty() && !New->exempt) { /* user banned */ - ServerInstance->Logs.Debug("BANCACHE", "BanCache: Positive hit for " + New->GetAddress()); + ServerInstance->Logs.Debug("BANCACHE", "Positive hit for " + New->GetAddress()); if (!ServerInstance->Config->XLineMessage.empty()) New->WriteNumeric(ERR_YOUREBANNEDCREEP, ServerInstance->Config->XLineMessage); @@ -222,7 +222,7 @@ void UserManager::AddUser(int socket, ListenSocket* via, const irc::sockets::soc } else { - ServerInstance->Logs.Debug("BANCACHE", "BanCache: Negative hit for " + New->GetAddress()); + ServerInstance->Logs.Debug("BANCACHE", "Negative hit for " + New->GetAddress()); } } else diff --git a/src/users.cpp b/src/users.cpp index e6dcb7cd5..d50b679ac 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -492,7 +492,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", "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; diff --git a/src/xline.cpp b/src/xline.cpp index 46cdca560..e9fa2a256 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -582,7 +582,7 @@ void XLine::DefaultApply(User* u, const std::string& line, bool bancache) if (bancache) { - ServerInstance->Logs.Debug("BANCACHE", "BanCache: Adding positive hit (" + line + ") for " + u->GetAddress()); + ServerInstance->Logs.Debug("BANCACHE", "Adding positive hit (" + line + ") for " + u->GetAddress()); ServerInstance->BanCache.AddHit(u->GetAddress(), this->type, banreason, (this->duration > 0 ? (this->expiry - ServerInstance->Time()) : 0)); } } |
