From 40c5fdd2c8976a21b718a0cff79bd9e699641dc2 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Fri, 3 Apr 2020 20:19:18 +0000 Subject: [PATCH] Log failed connects. --- exec/ircd.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/exec/ircd.js b/exec/ircd.js index 1b3d119368..66c91dd077 100644 --- a/exec/ircd.js +++ b/exec/ircd.js @@ -673,8 +673,12 @@ function connect_to_server(this_cline,the_port) { Unregistered[new_id].ircclass = this_cline.ircclass; YLines[this_cline.ircclass].active++; } - else + else { + umode_notice(USERMODE_ROUTING,"Routing", + "Failed to connect to " + + this_cline.servername + " ("+this_cline.host+")"); connect_sock.close(); + } this_cline.lastconnect = time(); } -- GitLab