diff --git a/changelog.d/mod/2932.bugfix.rst.txt b/changelog.d/mod/2932.bugfix.rst.txt new file mode 100644 index 000000000..555c1a375 --- /dev/null +++ b/changelog.d/mod/2932.bugfix.rst.txt @@ -0,0 +1 @@ +Fixed an error when reloading the core mod cog diff --git a/redbot/cogs/mod/mod.py b/redbot/cogs/mod/mod.py index a004251f3..95ad52baa 100644 --- a/redbot/cogs/mod/mod.py +++ b/redbot/cogs/mod/mod.py @@ -79,7 +79,6 @@ class Mod( await self._maybe_update_config() def cog_unload(self): - self.registration_task.cancel() self.tban_expiry_task.cancel() async def _maybe_update_config(self):