mirror of
https://github.com/anope/anope.git
synced 2026-06-30 04:16:38 +02:00
Show the protocol module name when connecting to the uplink.
This commit is contained in:
+1
-1
@@ -53,7 +53,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.ipv6 ? AF_INET6 : AF_INET);
|
||||
Log(LOG_TERMINAL) << "Attempting to connect to uplink #" << (Anope::CurrentUplink + 1) << " " << u.host << " (" << ip << "), port " << u.port;
|
||||
Log(LOG_TERMINAL) << "Attempting to connect to uplink #" << (Anope::CurrentUplink + 1) << " " << u.host << " (" << ip << '/' << u.port << ") with protocol " << IRCD->GetProtocolName();
|
||||
UplinkSock->Connect(ip, u.port);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user