From b1ccfab6d223e552e13a4de2d55658e581bbeb08 Mon Sep 17 00:00:00 2001 From: Ianardo DiCaprio <43935737+Ianardo-DiCaprio@users.noreply.github.com> Date: Tue, 13 Aug 2019 19:33:03 +0100 Subject: [PATCH] [Mod] BugFix (#2932) * Initial Commit * Add files via upload --- changelog.d/mod/2932.bugfix.rst.txt | 1 + redbot/cogs/mod/mod.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 changelog.d/mod/2932.bugfix.rst.txt 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):