diff --git a/files/classes/comment.py b/files/classes/comment.py index 00a077346..b9dafb0ca 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -71,7 +71,7 @@ def add_options(self, body, v): if kind == 'post': sub = self.sub else: - sub = self.parent.sub + sub = self.post.sub if sub in {'furry','vampire','racist','femboy'} and not v.house.lower().startswith(sub): option_body += ' disabled ' option_body += f''' data-nonce="{g.nonce}" data-onclick="poll_vote_{o.exclusive}('{o.id}', '{self.id}', '{kind}')"'''