mirror of
https://github.com/thelounge/thelounge.git
synced 2026-03-14 14:35:50 +01:00
Merge branch 'saslFix'
This commit is contained in:
commit
e919e1ce79
1 changed files with 4 additions and 1 deletions
|
|
@ -340,7 +340,10 @@ class Network {
|
|||
|
||||
if (!this.sasl) {
|
||||
delete this.irc.options.sasl_mechanism;
|
||||
delete this.irc.options.account;
|
||||
// irc-framework has a funny fallback where it uses nick + server pw
|
||||
// in the sasl handshake, if account is undefined, so we need an empty
|
||||
// object here to really turn it off
|
||||
this.irc.options.account = {};
|
||||
} else if (this.sasl === "external") {
|
||||
this.irc.options.sasl_mechanism = "EXTERNAL";
|
||||
this.irc.options.account = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue