mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
Also use the networks specific leave message on quit
This commit is contained in:
parent
877e4acf7d
commit
03377c6ced
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue