disallow wordle from the name too

master
Aevann 2023-03-06 19:19:28 +02:00
parent da806fbf4d
commit 1694d5262b
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def create_group(v):
if not name: abort(400)
name = name.strip().lower()
if name.startswith('slots'):
if name.startswith('slots') or name.startswith('wordle'):
return redirect(f"/ping_groups?error=You can't make a group with that name!")
if not valid_sub_regex.fullmatch(name):