Merge branch 'master' into 'master'

Stop deleting permanent invites

See merge request litecord/litecord!31
This commit is contained in:
Luna 2019-04-05 17:36:02 +00:00
commit b86040ae75
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()