gf
This commit is contained in:
parent
6c44fc0e04
commit
c31515811d
4 changed files with 2 additions and 16 deletions
|
@ -474,8 +474,6 @@ def edit_post(pid, v):
|
|||
else: return {"error": "Image/Video files only"}, 400
|
||||
|
||||
if body != p.body:
|
||||
body = image_regex.sub(r'\1\4', body)
|
||||
|
||||
if v.id == p.author_id and v.agendaposter and not v.marseyawarded: body = torture_ap(body, v.username)
|
||||
|
||||
if not p.options.count():
|
||||
|
@ -1054,8 +1052,6 @@ def submit_post(v, sub=None):
|
|||
if len(url) > 2048:
|
||||
return error("There's a 2048 character limit for URLs.")
|
||||
|
||||
body = image_regex.sub(r'\1\4', body)
|
||||
|
||||
if v and v.admin_level > 2:
|
||||
bet_options = []
|
||||
for i in bet_regex.finditer(body):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue