aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-07-31 13:26:11 +0100
committerGravatar Sadie Powell2026-07-31 13:26:11 +0100
commit256288ae154bfb5eb8e2d83e596703ea717d43ee (patch)
treea3534dfbbcfaa6f17ebe9b96f360e89d70ce1615
parentAdd PushServerTags to MessageBuilder. (diff)
Make the connect notices a bit more consistent.
-rw-r--r--modules/spanningtree/uid.cpp2
-rw-r--r--src/users.cpp5
2 files changed, 4 insertions, 3 deletions
diff --git a/modules/spanningtree/uid.cpp b/modules/spanningtree/uid.cpp
index 5588661bf..73816ff21 100644
--- a/modules/spanningtree/uid.cpp
+++ b/modules/spanningtree/uid.cpp
@@ -139,7 +139,7 @@ CmdResult CommandUID::HandleServer(TreeServer* remoteserver, CommandBase::Params
if (dosend)
{
- ServerInstance->SNO.WriteToSnoMask('C', "Client connecting at {}: {} ({}) [{}\x0F]", remoteserver->GetName(),
+ ServerInstance->SNO.WriteToSnoMask('C', "Client connecting to {}: {} ({}) [{}\x0F]", remoteserver->GetName(),
_new->GetRealMask(), _new->GetAddress(), _new->GetRealName());
}
diff --git a/src/users.cpp b/src/users.cpp
index 37623a2dc..b73ac3a48 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -371,8 +371,9 @@ void LocalUser::FullConnect()
FOREACH_MOD(OnPostConnect, (this));
- ServerInstance->SNO.WriteToSnoMask('c', "Client connecting on port {} (class {}): {} ({}) [{}\x0F]",
- server_sa.port(), GetClass()->GetName(), GetRealMask(), GetAddress(), GetRealName());
+ ServerInstance->SNO.WriteToSnoMask('c', "Client connecting to {} on port {} (class {}): {} ({}) [{}\x0F]",
+ ServerInstance->Config->ServerName, server_sa.port(), GetClass()->GetName(),
+ GetRealMask(), GetAddress(), GetRealName());
ServerInstance->Logs.Debug("BANCACHE", "Adding NEGATIVE hit for {}", this->GetAddress());
ServerInstance->BanCache.AddHit(this->GetAddress(), "", "");