~robin_jadoul/organizers-bot

000f3c91766eb86be62730388c43fbdeba3a22ce — Robin Jadoul 1 year, 3 months ago 7e5ca51 master
Small fix from #10
1 files changed, 3 insertions(+), 0 deletions(-)

M organizers_bot/ctfnote.py
M organizers_bot/ctfnote.py => organizers_bot/ctfnote.py +3 -0
@@ 560,6 560,9 @@ async def update_flag(ctx: discord_slash.SlashContext, flag: str):
        Updates the flag on ctfnote. To unset, simply set `flag` to the empty string.
        Handles the case where the channel name was marked as solved as well.
    """
    if not enabled:
        return

    current_ctf = await refresh_ctf(ctx) 
    if current_ctf is None: return