From 5ffa1bb062fafbdf7ac0db6b14d09011f09dbd9e Mon Sep 17 00:00:00 2001
From: Randy Sommerfeld <cyan@synchro.net>
Date: Sat, 11 Nov 2023 05:11:58 +0700
Subject: [PATCH] Log outbound initial handshake

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

diff --git a/exec/load/ircd/core.js b/exec/load/ircd/core.js
index 6f46a6c2bb..a44926e279 100644
--- a/exec/load/ircd/core.js
+++ b/exec/load/ircd/core.js
@@ -288,8 +288,11 @@ function handle_outbound_server_connect() {
 
 	if (this.is_connected) {
 		umode_notice(USERMODE_ROUTING,"Routing","Connected!  Sending info...");
+		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));
 		this.send("CAPAB " + SERVER_CAPAB + "\r\n");
+		log(LOG_DEBUG,format("->[UNREG]: SERVER %s 1 :%s", ServerName, ServerDesc));
 		this.send("SERVER " + ServerName + " 1 :" + ServerDesc +"\r\n");
 		id = Generate_ID();
 		Unregistered[id] = new Unregistered_Client(id,this);
-- 
GitLab