Do not try to quit from errored networks
This commit is contained in:
parent
7d24394814
commit
69bb003e45
@ -339,7 +339,9 @@ Client.prototype.quit = function() {
|
||||
}
|
||||
}
|
||||
this.networks.forEach(function(network) {
|
||||
if (network.irc) {
|
||||
network.irc.quit("Page closed");
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user