txlyre 1 개월 전
부모
커밋
ecc3685db0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -266,7 +266,7 @@ async def check_pending():
             for user_id in pending[peer_id]:
                 pending_user = pending[peer_id][user_id]
 
-                if pending_user.expired:
+                if pending_user.expired or pending_user.ban_flag:
                     await pending_user.kick()
 
         await asyncio.sleep(1)