Drop state.activeNetwork

Just grab it from state.activeBuffer's network.
This commit is contained in:
Simon Ser 2021-01-22 10:38:07 +01:00
parent d2ff88d946
commit 3975467764
2 changed files with 29 additions and 12 deletions

View file

@ -92,9 +92,9 @@ export default {
app.client.send({ command: "TOPIC", params });
},
"reconnect": (app, args) => {
app.reconnect(app.state.activeNetwork);
app.reconnect();
},
"disconnect": (app, args) => {
app.disconnect(app.state.activeNetwork);
app.disconnect();
},
};