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),