forked from MarseyWorld/MarseyWorld
fix 500 error
parent
efe0ff091a
commit
6a11de21e0
|
@ -582,7 +582,7 @@ def messagereply(v):
|
||||||
if 'discord.gg' in body or 'discord.com' in body or 'discordapp.com' in body:
|
if 'discord.gg' in body or 'discord.com' in body or 'discordapp.com' in body:
|
||||||
abort(403, "Stop grooming!")
|
abort(403, "Stop grooming!")
|
||||||
|
|
||||||
id = int(request.values.get("parent_id"))
|
id = request.values.get("parent_id")
|
||||||
parent = get_comment(id, v=v)
|
parent = get_comment(id, v=v)
|
||||||
user_id = parent.author.id
|
user_id = parent.author.id
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue