1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 08:56:38 +02:00

Improve logging about the protocol module on startup.

This commit is contained in:
Sadie Powell
2025-03-19 13:37:11 +00:00
parent 0a11bc7693
commit 6d72fd67d8
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ void Uplink::Connect()
UplinkSock->Bind(Config->GetBlock("serverinfo").Get<const Anope::string>("localhost"));
FOREACH_MOD(OnPreServerConnect, ());
Anope::string ip = Anope::Resolve(u.host, u.protocol);
Log(LOG_TERMINAL) << "Attempting to connect to uplink #" << (Anope::CurrentUplink + 1) << " " << ip << " (" << u.str() << ") with protocol " << IRCD->GetProtocolName();
Log(LOG_TERMINAL) << "Attempting to connect to uplink #" << (Anope::CurrentUplink + 1) << " " << ip << " (" << u.str() << ")";
UplinkSock->Connect(ip, u.port);
}