Fixes an issue with allowed_by_whitelist_blacklist (#3017)

This commit is contained in:
Michael H 2019-09-27 16:12:29 -04:00 committed by GitHub
parent 101e977939
commit ee162f6f9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
fixes a missing await from #2976

View File

@ -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