aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-09-03 09:42:44 +0100
committerGravatar Chris Lovering <[email protected]>2021-09-03 09:42:44 +0100
commita06367e1691d8ef39e2cf8f8e0d15e5922d29d01 (patch)
tree167f8c8c19c7e7c469bbeead0ff9b664a34b0b3d
parent`Unnominate reason` to `Unnomination reason` (diff)
Pop user from talent pool cache when unnominated
-rw-r--r--bot/exts/recruitment/talentpool/_cog.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/recruitment/talentpool/_cog.py b/bot/exts/recruitment/talentpool/_cog.py
index c2257c84b..a317c6645 100644
--- a/bot/exts/recruitment/talentpool/_cog.py
+++ b/bot/exts/recruitment/talentpool/_cog.py
@@ -493,6 +493,7 @@ class TalentPool(Cog, name="Talentpool"):
json={'end_reason': reason, 'active': False}
)
+ self.cache.pop(user_id)
if await self.autoreview_enabled():
self.reviewer.cancel(user_id)