diff --git a/files/classes/comment.py b/files/classes/comment.py index eb69c5e38..67172b336 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -327,7 +327,6 @@ class Comment(Base): self.comment_aux.body_html = x g.db.add(self.comment_aux) - @lazy def realbody(self, v): if self.post and self.post.club and not (v and v.paid_dues): return "

COUNTRY CLUB ONLY

" body = self.comment_aux.body_html diff --git a/files/helpers/const.py b/files/helpers/const.py index 32231b63d..a6941ee1b 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -33,10 +33,10 @@ SLURS = { " troon":" 🚂🚃🚃", " Troon":" 🚂🚃🚃", " TROON":" 🚂🚃🚃", - " NoNewNormal": "HorseDewormerAddicts", - " nonewnormal": "horsedewormeraddicts", - " Kike": "https://sciencedirect.com/science/article/abs/pii/S016028960600033X", - " kike": "https://sciencedirect.com/science/article/abs/pii/S016028960600033X", + " NoNewNormal": " HorseDewormerAddicts", + " nonewnormal": " horsedewormeraddicts", + " Kike": " https://sciencedirect.com/science/article/abs/pii/S016028960600033X", + " kike": " https://sciencedirect.com/science/article/abs/pii/S016028960600033X", "faggot ":"cute twink ", "Faggot ":"Cute twink ", "FAGGOT ":"CUTE TWINK ", @@ -69,8 +69,8 @@ SLURS = { "TROON ":"🚂🚃🚃 ", "NoNewNormal ": "HorseDewormerAddicts ", "nonewnormal ": "horsedewormeraddicts ", - "Kike ": "https://sciencedirect.com/science/article/abs/pii/S016028960600033X", - "kike ": "https://sciencedirect.com/science/article/abs/pii/S016028960600033X", + "Kike ": "https://sciencedirect.com/science/article/abs/pii/S016028960600033X ", + "kike ": "https://sciencedirect.com/science/article/abs/pii/S016028960600033X ", } diff --git a/files/routes/admin.py b/files/routes/admin.py index 84d2f6698..6f829d2b5 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -69,7 +69,7 @@ def club_allow(v, username): ma=ModAction( kind="club_allow", user_id=v.id, - target_user_id=user.id, + target_user_id=u.id, ) g.db.add(ma) @@ -97,7 +97,7 @@ def club_ban(v, username): ma=ModAction( kind="club_ban", user_id=v.id, - target_user_id=user.id, + target_user_id=u.id, ) g.db.add(ma) diff --git a/files/templates/comments.html b/files/templates/comments.html index 02b9b7c54..239c48e24 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -429,7 +429,7 @@