diff options
author | berry :3 <[email protected]> | 2025-04-25 20:45:07 +0300 |
---|---|---|
committer | berry :3 <[email protected]> | 2025-04-25 20:45:07 +0300 |
commit | dc1a5d63ca318befa962c0d748a12dd428d7fe68 (patch) | |
tree | 6dd2d2a6b82109146ac6d8affe7eadd2b742df4a /main.py | |
parent | 567b0eab426eb28968986411beea60dcc6317c08 (diff) |
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py index f5a0209..4d2f85f 100644 --- a/main.py +++ b/main.py @@ -246,7 +246,7 @@ async def handler(websocket): # if r["invite_code"] not in invite_codes: # await websocket.send(util.error("invalidInvite", listener)) # continue - if db.acc.get(r["username"]) != "notExists": + if db.acc.get_if_deleted(r["username"]) != "notExists": await websocket.send(util.error("usernameTaken", listener)) continue ips = [] |