forked from rDrama/rDrama
1
0
Fork 0

Update files/helpers/can_see.py

master
Aevann 2024-03-19 09:10:44 +00:00
parent f756db2ef2
commit dc3705a4ef
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ from files.classes.hole import Hole
from flask import request
#DELETE_ME_PLS
words_to_hide = ('israel', 'isreal', 'palestin', 'muslim', 'islam', 'hamas', 'jew', 'zion', 'gaza', 'rafah', 'isis', 'terror', 'iraq', 'allah', 'mohammad', 'muhammad', 'mohammed', 'muhammed', 'mohamad', 'muhamad', 'mohamed', 'muhamed')
words_to_hide = ('israel', 'isreal', 'palest', 'muslim', 'islam', 'hamas', 'jew', 'zion', 'gaza', 'rafah', 'isis', 'terror', 'iraq', 'allah', 'mohammad', 'muhammad', 'mohammed', 'muhammed', 'mohamad', 'muhamad', 'mohamed', 'muhamed')
def can_see(user, obj):
if isinstance(obj, (Post, Comment)):