Friendship & Morality...?

So I have a friend who is friends with more or less disturbing people. They themselves are not like this, but people they are friends with are. They are friends with neo nazis and a few people who are emotionally abusive who have done some pretty messed up things mentally to women and generally treat people like shit. My friend I feel kind of enables their shit by continuing to be their friend and basically ignoring the crap they do.

Do you feel as a human being there is a moral obligation when it comes to having friends. I don’t like to see myself as a closed minded person by saying I wouldn’t be friends with people like that, but the truth is at the end of the day the way you treat other people is how I judge someone and the two kinds of people I mentioned treat others like crap so I kind think to myself well why would I want to be friends with someone like that and almost see it as wrong for me personally to be friends with people who truly support or who have done things I find morally wrong that completely cross a line.

I can be friends with people I disagree with, sure. But I’ve cut ties with people who I feel have crossed my personal line.

At the same time I kind of ask myself, who am I to draw the line though? Or is my friend in the wrong for enabling people to act in such ways? Who are they better that they aren’t as close minded to friendships?

What are you thoughts?