This commit is contained in:
Aevann1 2022-02-01 07:42:45 +02:00
parent 85ec536ec6
commit 64652435e4
2 changed files with 4 additions and 4 deletions

View file

@ -416,7 +416,7 @@ def api_comment(v):
n = Notification(comment_id=c_jannied.id, user_id=v.id)
g.db.add(n)
elif 'nigg' in c.body.lower() and not v.nwordpass:
elif request.host == 'rdrama.net' and 'nigg' in c.body.lower() and not v.nwordpass:
c.is_banned = True
c.ban_reason = "AutoJanny"
@ -789,7 +789,7 @@ def edit_comment(cid, v):
n = Notification(comment_id=c_jannied.id, user_id=v.id)
g.db.add(n)
elif 'nigg' in c.body.lower() and not v.nwordpass:
elif request.host == 'rdrama.net' and 'nigg' in c.body.lower() and not v.nwordpass:
c.is_banned = True
c.ban_reason = "AutoJanny"