aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/utils/channel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/utils/channel.py b/bot/utils/channel.py
index 615698cab..487794c59 100644
--- a/bot/utils/channel.py
+++ b/bot/utils/channel.py
@@ -21,8 +21,8 @@ def is_mod_channel(channel: discord.TextChannel) -> bool:
log.trace(f"Checking if #{channel} is a mod channel.")
categories = (Categories.modmail, Categories.logs)
- return channel.id in constants.MODERATION_CHANNELS \
- or any(is_in_category(channel, category) for category in categories)
+ return (channel.id in constants.MODERATION_CHANNELS
+ or any(is_in_category(channel, category) for category in categories))
def is_in_category(channel: discord.TextChannel, category_id: int) -> bool: