aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joseph Banks <[email protected]>2020-04-20 19:01:24 +0100
committerGravatar Joseph Banks <[email protected]>2020-04-20 19:01:24 +0100
commit96ef7f76ba24134b4688ca69a2287eb52a33a1e4 (patch)
treeeea608eba9fb01c44b2cb9a72bf222ab764fb826
parentAdd statistics on whether a help session was closed with no input from anyone... (diff)
Incorrect comparison, we need to check if we are in help_in_use, not out of it
-rw-r--r--bot/cogs/help_channels.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py
index 060a010cc..c640c4d6f 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -594,7 +594,7 @@ class HelpChannels(Scheduler, commands.Cog):
return # Ignore messages sent by bots.
channel = message.channel
- if not self.is_in_category(channel, constants.Categories.help_in_use):
+ if self.is_in_category(channel, constants.Categories.help_in_use):
if channel.id in self.unanswered:
claimant_id = self.help_channel_claimants[channel].id