diff --git a/client/components/ChannelWrapper.vue b/client/components/ChannelWrapper.vue
index b61f9bb9..de021c1d 100644
--- a/client/components/ChannelWrapper.vue
+++ b/client/components/ChannelWrapper.vue
@@ -46,22 +46,11 @@ export default {
},
methods: {
close() {
- let cmd = "/close";
-
- if (this.channel.type === "lobby") {
- cmd = "/quit";
-
- // eslint-disable-next-line no-alert
- if (!confirm(`Are you sure you want to remove ${this.channel.name}?`)) {
- return false;
- }
- }
-
this.closed = true;
socket.emit("input", {
target: Number(this.channel.id),
- text: cmd,
+ text: "/close",
});
},
getAriaLabel() {
diff --git a/client/components/NetworkLobby.vue b/client/components/NetworkLobby.vue
index 2d802710..ff950089 100644
--- a/client/components/NetworkLobby.vue
+++ b/client/components/NetworkLobby.vue
@@ -42,11 +42,13 @@
@click.stop="$emit('toggleJoinChannel')"
/>
+