Skip to content

Commit

Permalink
Youtube: Fix crash in /yt endwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git authored and Zarel committed Dec 13, 2020
1 parent baaeb1e commit 14218b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/chat-plugins/youtube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@ export const commands: ChatCommands = {
this.checkCan('mute', null, room);
this.requireGame(GroupWatch);
room.parent!.modlog({action: `GROUPWATCH END`, loggedBy: user.id});
room.destroy();
room.parent!.add(`|c|~|/uhtmlchange ${room.roomid},`).update();
room.destroy();
},
startwatch: 'beginwatch',
beginwatch(target, room, user) {
Expand Down

0 comments on commit 14218b1

Please sign in to comment.