Don't delete permanent invites

This commit is contained in:
TTtie 2019-04-05 15:46:36 +00:00
parent 9f9251ebce
commit c1aaea846a
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ async def invite_precheck_gdm(user_id: int, channel_id: int):
async def _inv_check_age(inv: dict):
if inv['max_age'] != 0:
if inv['max_age'] == 0:
return
now = datetime.datetime.utcnow()