소스 검색

and another one

TheHamkerCat 5 년 전
부모
커밋
b2bd68f8d1
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      wbb/utils/dbfunctions.py

+ 1 - 1
wbb/utils/dbfunctions.py

@@ -347,6 +347,6 @@ async def add_gban_user(user_id: int):
 
 
 async def remove_gban_user(user_id: int):
-    is_gbanned = await is_gbanned_user(chat_id)
+    is_gbanned = await is_gbanned_user(user_id)
     if not is_gbanned: return
     return await gbansdb.delete_one({"user_id": user_id})