From d0e3cbe324bfae75a7d85d58264edd380fd2eef4 Mon Sep 17 00:00:00 2001 From: Gnuxie <50846879+Gnuxie@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:51:16 +0100 Subject: [PATCH] Remember to intern Draupnir protections command. (#556) Fixes https://github.com/the-draupnir-project/Draupnir/issues/555. --- src/commands/DraupnirCommands.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/DraupnirCommands.ts b/src/commands/DraupnirCommands.ts index fefe92c2..9ff0f252 100644 --- a/src/commands/DraupnirCommands.ts +++ b/src/commands/DraupnirCommands.ts @@ -21,6 +21,7 @@ import { SynapseAdminHijackRoomCommand } from "./HijackRoomCommand"; import { DraupnirImportCommand } from "./ImportCommand"; import { DraupnirKickCommand } from "./KickCommand"; import { + DraupnirListProtectionsCommand, DraupnirProtectionsConfigAddCommand, DraupnirProtectionsConfigSetCommand, DraupnirProtectionsDisableCommand, @@ -62,6 +63,7 @@ const DraupnirCommands = new StandardCommandTable("draupnir") .internCommand(DraupnirHelpCommand, ["help"]) .internCommand(DraupnirImportCommand, ["import"]) .internCommand(DraupnirKickCommand, ["kick"]) + .internCommand(DraupnirListProtectionsCommand, ["protections"]) .internCommand(DraupnirProtectionsEnableCommand, ["protections", "enable"]) .internCommand(DraupnirProtectionsDisableCommand, ["protections", "disable"]) .internCommand(DraupnirProtectionsConfigAddCommand, [