forked from rDrama/rDrama
fix wordle not verifiying user
parent
c15f07a186
commit
e8bfe7348f
|
@ -974,6 +974,9 @@ def handle_wordle_action(cid, v):
|
||||||
|
|
||||||
comment = get_comment(cid)
|
comment = get_comment(cid)
|
||||||
|
|
||||||
|
if v.id != comment.author_id:
|
||||||
|
abort(403)
|
||||||
|
|
||||||
guesses, status, answer = comment.wordle_result.split("_")
|
guesses, status, answer = comment.wordle_result.split("_")
|
||||||
count = len(guesses.split(" -> "))
|
count = len(guesses.split(" -> "))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue