pull/225/head
SneedBot 2024-03-29 01:00:18 +00:00
parent 62db5e9364
commit 6d68c092cc
2 changed files with 4 additions and 1 deletions

View File

@ -988,7 +988,7 @@ class User(Base):
if not self.is_private: return True
if not user: return False
if self.id == user.id: return True
return user.admin_level >= PERMS['VIEW_PRIVATE_PROFILES'] or user.eye
return user.admin_level >= PERMS['VIEW_PRIVATE_PROFILES'] or (user.eye and SITE != 'rdrama.net') #to stop the doxing, if u see this, pls dont tell anyone
@property
@lazy

View File

@ -25,6 +25,9 @@ valid_params = [
'effortpost',
]
if SITE == 'rdrama.net':
valid_params.remove('author') #to stop the doxing, if u see this, pls dont tell anyone
def searchparse(text):
text = text.lower()