diff options
author | Sadie Powell <sadie@witchery.services> | 2021-10-06 20:58:57 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-10-06 20:58:57 +0100 |
commit | aa0adcf99b04f3462b47601e23d9d74de89d271c (patch) | |
tree | cc70f1661bebee9e32700a77f71a4c0a9aa7e2f2 /src | |
parent | 079fb1b66fbd9d5c7a0416b86e5a9243fedbbbaa (diff) |
Show the protocol module name when connecting to the uplink.
Diffstat (limited to 'src')
-rw-r--r-- | src/uplink.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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); } |