aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 01a77db2b..632c78701 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -466,7 +466,7 @@ class HelpChannels(Scheduler, commands.Cog):
self.bot.stats.incr(f"help.dormant_calls.{caller}")
- if self.claim_times.get(channel.id):
+ if channel.id in self.claim_times:
claimed = self.claim_times[channel.id]
in_use_time = datetime.now() - claimed
self.bot.stats.timer("help.in_use_time", in_use_time)