From aa0adcf99b04f3462b47601e23d9d74de89d271c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 6 Oct 2021 20:58:57 +0100 Subject: Show the protocol module name when connecting to the uplink. --- src/uplink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/uplink.cpp b/src/uplink.cpp index 785ef88cd..c1c8404e4 100644 --- a/src/uplink.cpp +++ b/src/uplink.cpp @@ -53,7 +53,7 @@ void Uplink::Connect() UplinkSock->Bind(Config->GetBlock("serverinfo")->Get("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); } -- cgit