mirror of https://gitlab.com/litecord/litecord.git
Don't delete permanent invites
This commit is contained in:
parent
9f9251ebce
commit
c1aaea846a
|
|
@ -91,7 +91,7 @@ async def invite_precheck_gdm(user_id: int, channel_id: int):
|
||||||
|
|
||||||
|
|
||||||
async def _inv_check_age(inv: dict):
|
async def _inv_check_age(inv: dict):
|
||||||
if inv['max_age'] != 0:
|
if inv['max_age'] == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
now = datetime.datetime.utcnow()
|
now = datetime.datetime.utcnow()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue