From d8a80a05110da773ef15f06321e2e30b390c7657 Mon Sep 17 00:00:00 2001
From: Randy Sommerfeld <cyan@synchro.net>
Date: Tue, 14 Nov 2023 07:14:10 +0700
Subject: [PATCH] Be more verbose about where we've connected to

---
 exec/load/ircd/core.js | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/exec/load/ircd/core.js b/exec/load/ircd/core.js
index f0069159ec..75cc0cbc50 100644
--- a/exec/load/ircd/core.js
+++ b/exec/load/ircd/core.js
@@ -287,7 +287,15 @@ function handle_outbound_server_connect() {
 	Outbound_Connect_in_Progress = false;
 
 	if (this.is_connected) {
-		umode_notice(USERMODE_ROUTING,"Routing","Connected!  Sending info...");
+		umode_notice(USERMODE_ROUTING,"Routing",format(
+			"Connected to %s (%s:%u), Sock (%s:%u), Class %u. Sending handshake.",
+			this.cline.servername,
+			this.cline.host,
+			this.cline.port,
+			this.remote_ip_address,
+			this.remote_port,
+			this.cline.ircclass
+		));
 		log(LOG_DEBUG,format("->[UNREG]: PASS %s :TS", this.cline.password));
 		this.send(format("PASS %s :TS\r\n", this.cline.password));
 		log(LOG_DEBUG,format("->[UNREG]: CAPAB %s", SERVER_CAPAB));
-- 
GitLab