From fefea8efad0ad562e1fe16f39a53d0a6e2d693bf Mon Sep 17 00:00:00 2001 From: zefie Date: Mon, 23 Jun 2025 09:07:30 -0400 Subject: [PATCH] order of operations 2 --- zefie_wtvp_minisrv/includes/classes/WTVIRC.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zefie_wtvp_minisrv/includes/classes/WTVIRC.js b/zefie_wtvp_minisrv/includes/classes/WTVIRC.js index d297d01e..39e73546 100644 --- a/zefie_wtvp_minisrv/includes/classes/WTVIRC.js +++ b/zefie_wtvp_minisrv/includes/classes/WTVIRC.js @@ -4396,7 +4396,6 @@ class WTVIRC { } output_lines.push(`:${this.servername} 221 ${nickname} :+${this.usermodes.get(nickname).join('')}\r\n`); await this.sendThrottled(socket, output_lines); - await this.broadcastConnection(socket); for (const [srvSocket, serverName] of this.servers.entries()) { if (srvSocket) { // Compose UID message for this client @@ -4409,6 +4408,7 @@ class WTVIRC { await this.safeWriteToSocket(srvSocket, `:${this.serverId} UID ${nickname} 1 ${signonTime} +${userModes} ${username} ${socket.host} ${socket.realhost} ${socket.remoteAddress} ${uniqueId} * ${nickname} :${userinfo}\r\n`); } } + await this.broadcastConnection(socket); } }