Rape affects the victim in many ways and one of those ways is that they blame themselves. Having known survivors of rape and molestation I understand why she's saying what she's saying, which is subtly different than endorsing it.
No one who has been raped is to blame. At the same time, be aware that the world has a lot of people who will rape, and not even consider it rape, so don't drink to the point you pass out, even around people you think are your friends. She could have stated it as "be careful or this may happen to you" which is totally valid, but because of her own experience she stated it a different way.
Sometimes people will blame themselves out of guilt, but other times it's that they are trying to work out a way to feel in control of what happened. Let's take it into another area. Say you lend your "friend" some money and they don't pay you back. You can feel like a fool, like you were tricked, or you can reason that you never expected them to pay it back anyway. That doesn't absolve them of blame, but depending on your own personality it might be the way that you can better accept it.