Also use the networks specific leave message on quit
This commit is contained in:
parent
877e4acf7d
commit
03377c6ced
@ -650,7 +650,7 @@ Client.prototype.quit = function (signOut) {
|
||||
}
|
||||
|
||||
this.networks.forEach((network) => {
|
||||
network.quit(Helper.config.leaveMessage);
|
||||
network.quit();
|
||||
network.destroy();
|
||||
});
|
||||
|
||||
|
@ -439,7 +439,7 @@ Network.prototype.quit = function (quitMessage) {
|
||||
// https://ircv3.net/specs/extensions/sts#rescheduling-expiry-on-disconnect
|
||||
STSPolicies.refreshExpiration(this.host);
|
||||
|
||||
this.irc.quit(quitMessage || Helper.config.leaveMessage);
|
||||
this.irc.quit(quitMessage || this.leaveMessage || Helper.config.leaveMessage);
|
||||
};
|
||||
|
||||
Network.prototype.exportForEdit = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user