sneed
parent
62db5e9364
commit
6d68c092cc
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue