fix wordle not verifiying user

remotes/1693045480750635534/spooky-22
Aevann1 2022-08-11 10:15:41 +02:00
parent c15f07a186
commit e8bfe7348f
1 changed files with 3 additions and 0 deletions

View File

@ -974,6 +974,9 @@ def handle_wordle_action(cid, v):
comment = get_comment(cid)
if v.id != comment.author_id:
abort(403)
guesses, status, answer = comment.wordle_result.split("_")
count = len(guesses.split(" -> "))