forked from rDrama/rDrama
dont run execute_under_siege on editing
parent
ada7c713ab
commit
2685b844c1
|
@ -656,7 +656,6 @@ def edit_comment(cid, v):
|
|||
c.body_html = body_html
|
||||
|
||||
execute_blackjack(v, c, c.body, "comment")
|
||||
execute_under_siege(v, c, c.body, "comment")
|
||||
|
||||
if not complies_with_chud(c):
|
||||
abort(403, f'You have to include "{v.agendaposter_phrase}" in your comment!')
|
||||
|
|
|
@ -1046,8 +1046,6 @@ def edit_post(pid, v):
|
|||
|
||||
process_poll_options(v, p)
|
||||
|
||||
execute_under_siege(v, p, p.body, 'post')
|
||||
|
||||
for text in [p.body, p.title, p.url]:
|
||||
if execute_blackjack(v, p, text, 'post'): break
|
||||
|
||||
|
|
Loading…
Reference in New Issue