From f69be672951c3f652d3a2d39c34ce73766d5467d Mon Sep 17 00:00:00 2001 From: zefie Date: Wed, 18 Jun 2025 21:00:16 -0400 Subject: [PATCH] fix kline --- 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 06c537f0..cef0a2d2 100644 --- a/zefie_wtvp_minisrv/includes/classes/WTVIRC.js +++ b/zefie_wtvp_minisrv/includes/classes/WTVIRC.js @@ -4519,8 +4519,7 @@ class WTVIRC { socket.pause(); socket.host = await this.getHostname(socket); socket.resume(); - socket.realhost = socket.host; - await this.scanSocketForKLine(socket); + socket.realhost = socket.host; } async scanSocketForKLine(socket) { @@ -4590,6 +4589,7 @@ class WTVIRC { } async doLogin(nickname, socket) { + await this.scanSocketForKLine(socket); for (const [srvSocket, serverName] of this.servers.entries()) { if (srvSocket) { // Compose UID message for this client