diff --git a/src/commands/CreateBanListCommand.ts b/src/commands/CreateBanListCommand.ts index c414c30a..afb1de36 100644 --- a/src/commands/CreateBanListCommand.ts +++ b/src/commands/CreateBanListCommand.ts @@ -54,6 +54,10 @@ export async function createList( if (isError(watchResult)) { return watchResult; } + const protectResult = await this.draupnir.protectedRoomsSet.protectedRoomsConfig.addRoom(newList.ok); + if (isError(protectResult)) { + return protectResult; + } return newList; }