forked from rDrama/rDrama
Update files/helpers/can_see.py
parent
f756db2ef2
commit
dc3705a4ef
|
@ -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)):
|
||||
|
|
Loading…
Reference in New Issue