diff --git a/relay/actor.py b/relay/actor.py index 8c1cd16..23dc426 100644 --- a/relay/actor.py +++ b/relay/actor.py @@ -347,7 +347,7 @@ async def inbox(request): DATABASE['not-subscribed'] = not_subd raise aiohttp.web.HTTPUnauthorized(body='access denied', content_type='text/plain') - elif AP_CONFIG['whitelist_enabled'] is True and instance not in AP_CONFIG['whitelist']: + elif AP_CONFIG['whitelist_enabled'] is True and instance not in AP_CONFIG['whitelist']: raise aiohttp.web.HTTPUnauthorized(body='access denied', content_type='text/plain')