mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2026-05-06 00:33:31 -04:00
Fixes an issue with allowed_by_whitelist_blacklist (#3017)
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
fixes a missing await from #2976
|
||||||
+1
-1
@@ -269,7 +269,7 @@ class RedBase(commands.GroupMixin, commands.bot.BotBase, RPCMixin): # pylint: d
|
|||||||
if ids.isdisjoint(guild_whitelist):
|
if ids.isdisjoint(guild_whitelist):
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
guild_blacklist = self._config.guild(guild).blacklist()
|
guild_blacklist = await self._config.guild(guild).blacklist()
|
||||||
if not ids.isdisjoint(guild_blacklist):
|
if not ids.isdisjoint(guild_blacklist):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user