txlyre hace 1 mes
padre
commit
ecc3685db0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)