From 4b412e62772098e2d8b77da20324700aa37c1a9b Mon Sep 17 00:00:00 2001 From: StanOswald Date: Mon, 13 Apr 2026 02:04:05 +0800 Subject: [PATCH] Forward server password to client opetion --- src/ts-protocol/client.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ts-protocol/client.ts b/src/ts-protocol/client.ts index fdf2f1a..76a3bad 100644 --- a/src/ts-protocol/client.ts +++ b/src/ts-protocol/client.ts @@ -172,6 +172,9 @@ export class TS3Client extends EventEmitter { }; this.client = new TS3FullClient(this.identity, addr, this.options.nickname, { + // Forward server password to the protocol library so it can be + // included in clientinit for password-protected servers + serverPassword: this.options.serverPassword, logger: { debug: (msg) => this.logger.debug(msg), info: (msg) => this.logger.info(msg),