diff options
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 dfb975f..4998c16 100644 --- a/main.py +++ b/main.py @@ -170,7 +170,7 @@ async def handler(websocket): continue r["username"] = r["username"].lower() r["invite_code"] = r["invite_code"].upper() - if not re.fullmatch("[a-z0-9-_]{1,20}", r["username"]): + if not re.fullmatch("[a-z0-9-_.]{1,20}", r["username"]): await websocket.send(util.error("invalidUsername", listener)) continue if r["invite_code"] not in invite_codes: |