free LLM from all restrictions

pull/225/head
Aevann 2024-03-27 16:09:42 +02:00
parent e3561891df
commit a135abc6cf
3 changed files with 1 additions and 6 deletions

View File

@ -387,9 +387,6 @@ def comment(v):
@limiter.limit(DELETE_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID)
@auth_required
def delete_comment(cid, v):
if SITE == 'rdrama.net' and v.id == 253:
abort(403)
c = get_comment(cid, v=v)
if not c.deleted_utc:
if c.author_id != v.id: abort(403)

View File

@ -481,7 +481,7 @@ def submit_post(v, hole=None):
hole = request.values.get("hole", "").lower().replace('/h/','').strip()
if SITE == 'rdrama.net' and (v.chud == 1 or v.id == 253):
if SITE == 'rdrama.net' and v.chud == 1:
hole = 'chudrama'
if SITE == 'rdrama.net' and v.id in {4358, 18286}:

View File

@ -93,8 +93,6 @@ def notify_removed_users(removed_users, kind):
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID)
@auth_required
def settings_personal_post(v):
if v.id == 253 and request.values.get("private"):
abort(403)
updated = False
# begin common selectors #