Merge pull request #29 from stanoswald/bugfix/pass-pwd-in-client

Forward server password to client opetion
This commit is contained in:
TIANYAO ZHANG authored and GitHub committed 2026-04-13 20:44:43 +08:00
commit 47b69a1f95
1 file changed
+3
+3
View File
@@ -188,6 +188,9 @@ export class TS3Client extends EventEmitter {
}; };
this.client = new TS3FullClient(this.identity, addr, this.options.nickname, { 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: { logger: {
debug: (msg) => this.logger.debug(msg), debug: (msg) => this.logger.debug(msg),
info: (msg) => this.logger.info(msg), info: (msg) => this.logger.info(msg),