1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 18:36:39 +02:00

Add a helper method for getting a description of an uplink.

This commit is contained in:
Sadie Powell
2025-03-02 15:40:17 +00:00
parent f9911dde52
commit 4526fbed96
4 changed files with 24 additions and 5 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ int main(int ac, char **av, char **envp)
}
catch (const SocketException &ex)
{
Log(LOG_TERMINAL) << "Unable to connect to uplink #" << (Anope::CurrentUplink + 1) << " (" << Config->Uplinks[Anope::CurrentUplink].host << ":" << Config->Uplinks[Anope::CurrentUplink].port << "): " << ex.GetReason();
Log(LOG_TERMINAL) << "Unable to connect to uplink #" << (Anope::CurrentUplink + 1) << " (" << Config->Uplinks[Anope::CurrentUplink].str() << "): " << ex.GetReason();
}
/* Set up timers */