forked from rDrama/rDrama
1
0
Fork 0

fix route

master
Aevann 2024-02-18 22:06:36 +02:00
parent 951c3f0bd4
commit 4e5766d454
1 changed files with 1 additions and 1 deletions

View File

@ -1071,7 +1071,7 @@ def change_hole(pid, v):
hole_to = hole_to.name if hole_to else None
if not post.hole_changable(v):
return False
abort(403, "You can't change the hole of this post!")
if hole_to == None:
if HOLE_REQUIRED: