From f83af2eca5960927d4e42e4967c33e402515e4b5 Mon Sep 17 00:00:00 2001 From: zefie Date: Tue, 17 Jun 2025 18:56:42 -0400 Subject: [PATCH] send remote addr in connect notices --- zefie_wtvp_minisrv/includes/classes/WTVIRC.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zefie_wtvp_minisrv/includes/classes/WTVIRC.js b/zefie_wtvp_minisrv/includes/classes/WTVIRC.js index 152d3d9b..9543161d 100644 --- a/zefie_wtvp_minisrv/includes/classes/WTVIRC.js +++ b/zefie_wtvp_minisrv/includes/classes/WTVIRC.js @@ -4323,9 +4323,9 @@ class WTVIRC { for (const [index, socket] of this.clients.entries()) { if (socket !== clientSocket && this.isSpyingOnConnections(socket.nickname)) { if (quitMsg) { - this.sendWebTVNoticeTo(socket, `*** Notice --- Client exiting: ${clientSocket.nickname} (${clientSocket.username}@${clientSocket.host}) [${clientSocket.realhost}] [${quitMsg}]`); + this.sendWebTVNoticeTo(socket, `*** Notice --- Client exiting: ${clientSocket.nickname} (${clientSocket.username}@${clientSocket.host}) [${clientSocket.remoteAddress}] [${quitMsg}]`); } else { - this.sendWebTVNoticeTo(socket, `*** Notice --- Client connecting: ${clientSocket.nickname} (${clientSocket.username}@${clientSocket.host}) [${clientSocket.realhost}] {users} [${clientSocket.userinfo}] <${clientSocket.uniqueId}>`); + this.sendWebTVNoticeTo(socket, `*** Notice --- Client connecting: ${clientSocket.nickname} (${clientSocket.username}@${clientSocket.host}) [${clientSocket.remoteAddress}] {users} [${clientSocket.userinfo}] <${clientSocket.uniqueId}>`); } } }