forked from rDrama/rDrama
gfhf
parent
c7e349c558
commit
fc9be66fb4
|
@ -547,8 +547,9 @@ def api_comment(v):
|
||||||
if v.any_block_exists(user): continue
|
if v.any_block_exists(user): continue
|
||||||
if user.id != v.id: notify_users.add(user.id)
|
if user.id != v.id: notify_users.add(user.id)
|
||||||
|
|
||||||
if request.host == 'rdrama.net':
|
if request.host in ['rdrama.net','pcmemes.net']:
|
||||||
if ('aevan' in body_html.lower() or 'avean' in body_html.lower()) and 1 not in notify_users: notify_users.add(1)
|
if ('aevan' in body_html.lower() or 'avean' in body_html.lower()) and 1 not in notify_users: notify_users.add(1)
|
||||||
|
if request.host == 'rdrama.net':
|
||||||
if ('joan' in body_html.lower() or 'pewkie' in body_html.lower()) and 28 not in notify_users: notify_users.add(28)
|
if ('joan' in body_html.lower() or 'pewkie' in body_html.lower()) and 28 not in notify_users: notify_users.add(28)
|
||||||
if 'carp' in body_html.lower() and 995 not in notify_users:
|
if 'carp' in body_html.lower() and 995 not in notify_users:
|
||||||
notify_users.add(995)
|
notify_users.add(995)
|
||||||
|
@ -816,8 +817,9 @@ def edit_comment(cid, v):
|
||||||
if v.any_block_exists(user): continue
|
if v.any_block_exists(user): continue
|
||||||
if user.id != v.id: notify_users.add(user.id)
|
if user.id != v.id: notify_users.add(user.id)
|
||||||
|
|
||||||
if request.host == 'rdrama.net':
|
if request.host in ['rdrama.net','pcmemes.net']:
|
||||||
if ('aevan' in body_html.lower() or 'avean' in body_html.lower()) and 1 not in notify_users: notify_users.add(1)
|
if ('aevan' in body_html.lower() or 'avean' in body_html.lower()) and 1 not in notify_users: notify_users.add(1)
|
||||||
|
if request.host == 'rdrama.net':
|
||||||
if ('joan' in body_html.lower() or 'pewkie' in body_html.lower()) and 28 not in notify_users: notify_users.add(28)
|
if ('joan' in body_html.lower() or 'pewkie' in body_html.lower()) and 28 not in notify_users: notify_users.add(28)
|
||||||
if 'carp' in body_html.lower() and 995 not in notify_users:
|
if 'carp' in body_html.lower() and 995 not in notify_users:
|
||||||
notify_users.add(995)
|
notify_users.add(995)
|
||||||
|
|
Loading…
Reference in New Issue