forked from MarseyWorld/MarseyWorld
dedup
parent
419772140d
commit
05edb19e0a
|
@ -464,7 +464,7 @@ def is_repost(v):
|
|||
def submit_post(v, hole=None):
|
||||
flag_draft = request.values.get("draft", False, bool)
|
||||
|
||||
if v.is_permabanned or (v.is_suspended and not flag_draft):
|
||||
if v.is_suspended and not flag_draft:
|
||||
stop(403, "You can't perform this action while banned!")
|
||||
|
||||
url = request.values.get("url", "").replace('\x00', '').strip()
|
||||
|
|
Loading…
Reference in New Issue